This is documentation for an old release of NumPy (version 1.17). Read this page in the documentation of the latest stable release (version 2.2).
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