pandas.Series.cat.codes#

Series.cat.codes[source]#

Return Series of codes as well as the index.