numpy / 1.23 / reference / generated / numpy.ndarray.__copy__.html

numpy.ndarray.__copy__

method

ndarray.__copy__()

Used if copy.copy is called on an array. Returns a copy of the array.

Equivalent to a.copy(order='K').

© 2005–2022 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.23/reference/generated/numpy.ndarray.__copy__.html