Marks the specified column as containing categorical data.
Namespace: Extreme.DataAnalysisAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
public DataFrame<R, C> MakeCategorical<T>(
C key,
Index<T> categoryIndex
)
Public Function MakeCategorical(Of T) (
key As C,
categoryIndex As Index(Of T)
) As DataFrame(Of R, C)
public:
generic<typename T>
DataFrame<R, C>^ MakeCategorical(
C key,
Index<T>^ categoryIndex
)
member MakeCategorical :
key : 'C *
categoryIndex : Index<'T> -> DataFrame<'R, 'C>
Parameters
- key
- Type: C
The key of the column. - categoryIndex
- Type: Extreme.DataAnalysisIndexT
The category index to use
to encode the values.
Type Parameters
- T
Return Value
Type:
DataFrameR,
C
This method does not change the values in the column.
It changes the representation to one for categorical data.
Numerical Libraries
Supported in: 6.0
Reference