 | DataFrameAddRow(Object, DoubleVector) Method |
Adds a row to this data frame.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntaxpublic DataFrame AddRow(
Object rowKey,
DoubleVector v
)
Public Function AddRow (
rowKey As Object,
v As DoubleVector
) As DataFrame
public:
DataFrame^ AddRow(
Object^ rowKey,
DoubleVector^ v
)
member AddRow :
rowKey : Object *
v : DoubleVector -> DataFrame
Parameters
- 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