

def repeat(self, n):
    '\n        return a new Index of the values repeated n times\n\n        See also\n        --------\n        numpy.ndarray.repeat\n        '
    return self._shallow_copy(self._values.repeat(self))

dataset/ETHPy150Open pydata/pandas/pandas/indexes/base.py Index.repeat/VarMisuse@25/75 `n`->`self`