pandas.CategoricalIndex.as_ordered# CategoricalIndex.as_ordered(*args, **kwargs)[source]# Set the Categorical to be ordered. Returns CategoricalOrdered Categorical.