Categorical Vector<T>.As Categorical Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
AsCategorical( | Returns a categorical vector containing the same data as this vector. |
AsCategorical( | Returns a categorical vector containing the same data as this vector. |
AsCategorical(Index<T>)
Returns a categorical vector containing the same data as this vector.
public override CategoricalVector<T> AsCategorical(
Index<T> index
)
Parameters
Return Value
CategoricalVector<T>A new categorical vector, or this instance if it is already categorical, with values encoded using index.
AsCategorical(SortOrder)
Returns a categorical vector containing the same data as this vector.
public override CategoricalVector<T> AsCategorical(
SortOrder sortOrder
)
Parameters
- sortOrder SortOrder
Return Value
CategoricalVector<T>A new categorical vector, or this instance if it is already categorical.