Marks the specified columns as containing categorical data.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public DataFrame<R, C> MakeCategorical(
params C[] keys
)
Public Function MakeCategorical (
ParamArray keys As C()
) As DataFrame(Of R, C)
public:
DataFrame<R, C>^ MakeCategorical(
... array<C>^ keys
)
member MakeCategorical :
keys : 'C[] -> DataFrame<'R, 'C>
Parameters
- keys
- Type: C
A parameter array of keys of the column.
Return Value
Type:
DataFrameR,
C
Exception | Condition |
---|
KeyNotFoundException | One or more of the keys in keys
were not found in the data frame's column index. |
This method does not change the values in the columns.
It changes the representation to one for categorical data.
Reference