Inserts the given row at the given row index.
Namespace:
CenterSpace.NMath.StatsAssembly: NMathStats (in NMathStats.dll) Version: 3.4.0.0
Syntax
| C# |
|---|
public DataFrame InsertRow( int rowIndex, Object rowKey, DoubleVector v ) |
| Visual Basic (Declaration) |
|---|
Public Function InsertRow ( _ rowIndex As Integer, _ rowKey As Object, _ v As DoubleVector _ ) As DataFrame |
| Visual C++ |
|---|
public: DataFrame^ InsertRow( int rowIndex, Object^ rowKey, DoubleVector^ v ) |
Parameters
- rowIndex
- Type: System..::.Int32
A row index.
- rowKey
- Type: System..::.Object
A row key.
- v
- Type: CenterSpace.NMath.Core..::.DoubleVector
A vector of double precision values.
Return Value
This data frame.
Remarks
All columns in this data frame
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.MismatchedSizeException | Thrown if the number of objects does not equal the number of columns in this data frame. |
| CenterSpace.NMath.Core..::.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. |