NumPy · Method
ndarray.copy
Creates a separate copy of a NumPy array. You can choose the copy's memory layout with order; the default is C order.
Last updated
Syntax
ndarray.copy(order='C')In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
numpy.copynumpy.copyto