 | DataFrameInsertRow(Int32, Object, ICollection) 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,
ICollection c
)
Public Function InsertRow (
rowIndex As Integer,
rowKey As Object,
c As ICollection
) As DataFrame
public:
DataFrame^ InsertRow(
int rowIndex,
Object^ rowKey,
ICollection^ c
)
member InsertRow :
rowIndex : int *
rowKey : Object *
c : ICollection -> DataFrame
Parameters
- rowIndex Int32
- A row index.
- rowKey Object
- A row key, which may be null.
- c ICollection
- A collection of row data.
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 the type of the given row key
does not match the type of any existing row keys. |
See Also