On 10/14/2008 9:23 PM frank wang apparently wrote:
> I have a large ndarray that I want to dump to a file. I know that I can 
> use a for loop to write one data at a time. Since Python is a very 
> powerfully language, I want to find a way that will dump the data fast 
> and clean. The data can be in floating point or integer.

Use the ``tofile()`` method:
http://www.scipy.org/Numpy_Example_List#head-2acd2a84907edbd410bf426847403ce8ea151814

hth,
Alan Isaac



_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to