pandas.core.categorical.Categorical.codes¶
- Categorical.codes¶
The category codes of this categorical.
Level codes are an array if integer which are the positions of the real values in the categories array.
There is not setter, use the other categorical methods and the normal item setter to change values in the categorical.