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.