numpy.ndarray.repeat — NumPy v2.5 Manual

method

ndarray.repeat(repeats, axis=None)

#

Repeat elements of an array.

Refer to

numpy.repeat

for full documentation.