Click or drag to resize

DataFrame(DataTable, String) 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,
	string columnName
)

Parameters

dt  DataTable
A DataTable.
columnName  String
The name of the column containing row keys.
Exceptions
ExceptionCondition
MismatchedSizeExceptionThrown if the number of keys does not match the number of rows.
See Also