pandas.Series.cat.as_ordered

Set the Categorical to be ordered.

param inplace
bool, default False

Whether or not to set the ordered attribute in-place or return a copy of this categorical with ordered set to True.

return

Categorical Ordered Categorical.

Warning

This feature is currently unsupported by Intel Scalable Dataframe Compiler