Namespace: Extreme.StatisticsAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.17114.0)
public VariableCollection(
DataTable dataTable
)
Public Sub New (
dataTable As DataTable
)
public:
VariableCollection(
DataTable^ dataTable
)
new :
dataTable : DataTable -> VariableCollection
Parameters
- dataTable
- Type: System.DataDataTable
A DataTable that contains the data that is to be loaded
into the collection.
The columns of the table are converted into variables according to the following rules:
- If the column contains unique values (the DataColumn's Unique
property is ), then the column is interpreted as a KeyVariable.
- If the column's data type is numerical, the column is
interpreted as a NumericalVariable.
- If the column's data type is a date or time value,
the column is interpreted as a DateTimeVariable.
- Otherwise, the column is interpreted as a CategoricalVariable.
Numerical Libraries
Supported in: 5.x, 4.x
Reference