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