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, IDictionary dic ) |
| Visual Basic (Declaration) |
|---|
Public Function InsertRow ( _ rowIndex As Integer, _ rowKey As Object, _ dic As IDictionary _ ) As DataFrame |
| Visual C++ |
|---|
public: DataFrame^ InsertRow( int rowIndex, Object^ rowKey, IDictionary^ dic ) |
Parameters
- rowIndex
- Type: System..::.Int32
A row index.
- rowKey
- Type: System..::.Object
A row key, which may be null.
- dic
- Type: System.Collections..::.IDictionary
A dictionary of row data. The dictionary keys must be the names of the columns.
Return Value
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 the type of the given row key does not match the type of any existing row keys. |