| DataFrameInsertRow(Int32, Object, IDictionary) Method |
Inserts the given row at the given row index.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public DataFrame InsertRow(
int rowIndex,
Object rowKey,
IDictionary dic
)
Public Function InsertRow (
rowIndex As Integer,
rowKey As Object,
dic As IDictionary
) As DataFrame
public:
DataFrame^ InsertRow(
int rowIndex,
Object^ rowKey,
IDictionary^ dic
)
member InsertRow :
rowIndex : int *
rowKey : Object *
dic : IDictionary -> DataFrame
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
DataFrameThis data frame.
Exceptions Exception | Condition |
---|
MismatchedSizeException | Thrown if the number of objects does
not equal the number of columns in this data frame |
InvalidArgumentException | Thrown if the type of the given row key
does not match the type of any existing row keys. |
See Also