Click or drag to resize

DataFrame(DataTable, Int32) Constructor

Constructs a DataFrame instance from the given DataTable. Row keys are set to the values in the specified column.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public DataFrame(
	DataTable dt,
	int keyColumn
)

Parameters

dt  DataTable
A DataTable.
keyColumn  Int32
The index of the column containing row keys.
Exceptions
ExceptionCondition
MismatchedSizeExceptionThrown if the number of keys does not match the number of rows.
See Also