Data Frame<R, C>.Make Categorical At Method
            
            Definition
Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.5
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.5
Overload List
| Make | Marks the column at the specified index as containing categorical data. | 
| Make | Marks the column at the specified index as containing categorical data. | 
MakeCategoricalAt(Int32)
            Marks the column at the specified index as containing categorical data.
            
public DataFrame<R, C> MakeCategoricalAt(
	int index
)Parameters
- index Int32
 - The zero-based index of the column to make categorical.
 
Return Value
DataFrame<R, C>Remarks
This method does not change the values in the column.
            It changes the representation to one for categorical data.
Exceptions
| Argument | index is less than zero or greater than or equal to the number of columns in the data frame.  | 
MakeCategoricalAt<T>(Int32, Index<T>, Boolean)
            Marks the column at the specified index as containing categorical data.
            
public DataFrame<R, C> MakeCategoricalAt<T>(
	int index,
	Index<T> categoryIndex,
	bool replaceIndex = false
)
Parameters
- index Int32
 - The zero-based index of the column to make categorical.
 - categoryIndex Index<T>
 - The category index to use to encode the values.
 - replaceIndex Boolean (Optional)
 - Optional. Specifies whether categoryIndex should replace the existing index.
 
Type Parameters
- T
 
Return Value
DataFrame<R, C>Remarks
This method does not change the values in the column.
            It changes the representation to one for categorical data.
Exceptions
| Argument | index is less than zero or greater than or equal to the number of columns in the data frame.  |