cat.
ordered
Whether the categories have an ordered relationship.
Examples
>>> s = ks.Series(list("abbccc"), dtype="category") >>> s 0 a 1 b 2 b 3 c 4 c 5 c dtype: category Categories (3, object): ['a', 'b', 'c']
>>> s.cat.ordered False
previous
databricks.koalas.Series.cat.categories
next
databricks.koalas.Series.cat.codes