def repeat(self, repeats, *args, **kwargs):
    '\n        Repeat elements of a Categorical.\n\n        See also\n        --------\n        numpy.ndarray.repeat\n\n        '
    nv.validate_repeat(args, kwargs)
    codes = self._codes.repeat(repeats)
    return self._constructor(values=codes, dtype=self.dtype, fastpath=True)
Repeat elements of a Categorical.

See also
--------
numpy.ndarray.repeat
def repeat(self, repeats, *args, **kwargs):
    '\n        Repeat elements of a Categorical.\n\n        See also\n        --------\n        numpy.ndarray.repeat\n\n        '
    nv.validate_repeat(args, kwargs)
    codes = self._codes.repeat(repeats)
    return self._constructor(values=codes, dtype=self.dtype, fastpath=True)