CategoricalIndex.
as_unordered
Set the Categorical to be unordered.
Whether or not to set the ordered attribute in-place or return a copy of this categorical with ordered set to False.
Unordered Categorical or None if inplace=True.
inplace=True