NumPy

numpy.ma.MaskType.repeat

method

MaskType.repeat()

Scalar method identical to the corresponding array attribute.

Please see ndarray.repeat.