method
ndarray.
repeat
Repeat elements of an array.
Refer to numpy.repeat for full documentation.
numpy.repeat
See also
equivalent function