copy a numpy array

gsal salgerman at
Tue Jan 8 19:11:08 CET 2008

I am new to python and everything related to it, and it so happens
that I just went through the numpy tutorial last night, it is in

and the answer to your question is in section 3.7

Basically, if you want to make a (deep) copy of it:

destarray = srcarray.copy()


More information about the Python-list mailing list