pandas.Series.cat.codes ======================= .. currentmodule:: pandas .. autoaccessorattribute:: Series.cat.codes