SciPy

numpy.ndarray.__copy__ΒΆ

ndarray.__copy__([order])ΒΆ

Return a copy of the array.

Parameters:

order : {β€˜C’, β€˜F’, β€˜A’}, optional

If order is β€˜C’ (False) then the result is contiguous (default). If order is β€˜Fortran’ (True) then the result has fortran order. If order is β€˜Any’ (None) then the result has fortran order only if the array already is in fortran order.