Click or drag to resize

DataFrameInsertRow(Int32, Object, IDictionary) Method

Inserts the given row at the given row index.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public DataFrame InsertRow(
	int rowIndex,
	Object rowKey,
	IDictionary dic
)

Parameters

rowIndex  Int32
A row index.
rowKey  Object
A row key, which may be null.
dic  IDictionary
A dictionary of row data. The dictionary keys must be the names of the columns.

Return Value

DataFrame
This data frame.
Exceptions
ExceptionCondition
MismatchedSizeExceptionThrown if the number of objects does not equal the number of columns in this data frame
InvalidArgumentExceptionThrown if the type of the given row key does not match the type of any existing row keys.
See Also