pandas.Categorical.ordered

property Categorical.ordered: Optional[bool]

Whether the categories have an ordered relationship.