pandas.Series.cat.ordered

Series.cat.ordered

Whether the categories have an ordered relationship.