Adds the data from the given DataRowCollection using the specified row keys.

Namespace:  CenterSpace.NMath.Stats
Assembly:  NMathStats (in NMathStats.dll) Version: 3.4.0.0

Syntax

C#
public DataFrame AddRows(
	Object[] rowKeys,
	DataRowCollection rows
)
Visual Basic (Declaration)
Public Function AddRows ( _
	rowKeys As Object(), _
	rows As DataRowCollection _
) As DataFrame
Visual C++
public:
DataFrame^ AddRows(
	array<Object^>^ rowKeys, 
	DataRowCollection^ rows
)

Parameters

rowKeys
Type: array< System..::.Object >[]()[]
An array of row keys.
rows
Type: System.Data..::.DataRowCollection
A DataRowCollection.

Return Value

This data frame.

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.MismatchedSizeExceptionThrown if the number of columns in the DataRowCollection does not match number of columns in this data frame, or if the number of rows in the DataRowCollection does not match the number of row keys.

See Also