Repeat elements of an array.
Refer to numpy.repeat for full documentation.
See also
numpy.ma.MaskedArray.put
numpy.ma.MaskedArray.searchsorted