Return Series of codes as well as the index.
previous
pandas.Series.cat.ordered
next
pandas.Series.cat.rename_categories