Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
In [1]:
import pandas as pd
In [4]:
s = pd.Series([1, 2, 3, 3, 2, 1], dtype="category")
s
Out[4]:
In [5]:
s.sort_values()
Out[5]:
In [ ]: