def _get_labels(self):
        warn("'labels' is deprecated. Use 'codes' instead", FutureWarning,
             stacklevel=2)
        return self.codes
Get the category labels (deprecated).
dataset/ETHPy150Open pydata/pandas/pandas/core/categorical.py/Categorical._get_labels