Click or drag to resize

DataFrameInsertRow(Int32, Object, DoubleVector) 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,
	DoubleVector v
)

Parameters

rowIndex  Int32
A row index.
rowKey  Object
A row key.
v  DoubleVector
A vector of double precision values.

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 a column in this data frame is not numeric, or if the type of the given row key does not match the type of any existing row keys.
Remarks
All columns in this data frame
See Also