Converts the data frame to a variable collection.
Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
public VariableCollection ToVariableCollection()
Public Function ToVariableCollection As VariableCollection
member ToVariableCollection : unit -> VariableCollection
A variable collection containing the same data as the data frame.
Data frames have a richer set of data than variable collections.
There may be some loss of information during the conversion.
The index of the data frame is converted to a KeyVariable object
and is always the first variable in the result.
Columns with element type Double are returned as
NumericalVariable objects, except when they are categorical.
In that case, they are returned as CategoricalVariable objects.
Similarly, columns with element type DateTime are returned
as DateTimeVariable objects, except when they are categorical.
All other columns are returned as categorical variables.
Supported in: 5.x