 | DataFrameInsertRow(Int32, Object, DoubleVector) Method |
Inserts the given row at the given row index.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntaxpublic DataFrame InsertRow(
int rowIndex,
Object rowKey,
DoubleVector v
)
Public Function InsertRow (
rowIndex As Integer,
rowKey As Object,
v As DoubleVector
) As DataFrame
public:
DataFrame^ InsertRow(
int rowIndex,
Object^ rowKey,
DoubleVector^ v
)
member InsertRow :
rowIndex : int *
rowKey : Object *
v : DoubleVector -> DataFrame
Parameters
- rowIndex Int32
- A row index.
- rowKey Object
- A row key.
- v DoubleVector
- A vector of double precision values.
Return Value
DataFrameThis data frame.
ExceptionsException | Condition |
---|
MismatchedSizeException | Thrown if the number of objects does
not equal the number of columns in this data frame. |
InvalidArgumentException | Thrown 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