SciPy

numpy.ma.masked_array.repeat

masked_array.repeat(repeats, axis=None)[source]

Repeat elements of an array.

Refer to numpy.repeat for full documentation.

See also

numpy.repeat
equivalent function