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