Skip to content

Glossary: pandas Beyond the Basics

Ordered category

Also written: ordered=True, CategoricalDtype

A category column whose labels have an order, so sorting, grouping, charts and comparisons like `>= "Saturday"` follow it. Set it with `pd.CategoricalDtype(list, ordered=True)`.

Where the book teaches it

Related terms

Category dtype