Categories#

The following methods are available under the expr.cat attribute.

Expr.cat.get_categories()

Get the categories stored in this data type.

Expr.cat.set_ordering(ordering)

Determine how this categorical series should be sorted.