def _set_codes(self, codes):
    '\n        Not settable by the user directly\n        '
    raise ValueError('cannot set Categorical codes directly')
Not settable by the user directly
def _set_codes(self, codes):
    '\n        \n        '
    raise ValueError('cannot set Categorical codes directly')