[SciPy-user] efficiently importing ascii data

Travis Oliphant oliphant at ee.byu.edu
Sun Nov 13 21:46:39 CST 2005

Darren Dale wrote:

>I am considering using scipy's fromfile function, which gives a big speed 
>boost over io.read_array, but I don't understand what this docstring is 
>trying to tell me:
>    WARNING: This function should be used sparingly, as it is not
>    a robust method of persistence.  But it can be useful to
>    read in simply-formatted or binary data quickly.
It's simply trying to advertise that fromfile and tofile are very raw 
functions.   They should work fine as far as they go, but there may be 
easier solutions.  I don't expect the capability of these to increase.  
But, for example, something like a TableIO could take advantage of them.


More information about the SciPy-user mailing list