Categorical.
dtype
The CategoricalDtype for this instance.
CategoricalDtype
pandas.Categorical.ordered
pandas.Categorical.from_codes