[Numpy-discussion] using numpy to save arrays in a loop

Zhaoru Zhang zhaoruzhang at gmail.com
Mon Apr 25 10:32:34 EDT 2011


Hi guys,

I have a time loop and at each time step I get a 1-d array and want to save it in the data file 'data.dat '(or whatever suffix), so finally i got . I made this by using the python 'write' function, but I' thinking about if there is any numpy function that can realize this? Thanks.

Zhaoru




More information about the NumPy-Discussion mailing list