def __iter__(self):
    'Returns an Iterator over the values of this Categorical.'
    return iter(self.get_values().tolist())
Returns an Iterator over the values of this Categorical.
def __iter__(self):
    
    return iter(self.get_values().tolist())