NumPy

numpy.ndarray.repeat

method

ndarray.repeat(repeats, axis=None)

Repeat elements of an array.

Refer to numpy.repeat for full documentation.

See also

numpy.repeat

equivalent function

Previous topic

numpy.ndarray.ravel

Next topic

numpy.ndarray.reshape