Skip to content
masterclass Buddy

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.

Subscribe
  • numpy.copy
  • numpy.copyto

Source: numpy.ndarray.copy — NumPy v2.5 Manual. Checked 2026-11-03.