numpy.ndarray.repeat — NumPy v2.2 Manual (original) (raw)

method

ndarray.repeat(repeats, axis=None)#

Repeat elements of an array.

Refer to numpy.repeat for full documentation.