[Numpy-discussion] How to read data from text files fast?

Fernando.Perez at colorado.edu Fernando.Perez at colorado.edu
Thu Jul 8 12:25:07 EDT 2004


Quoting Chris Barker <Chris.Barker at noaa.gov>:

> Thanks to Fernando Perez  and Travis Oliphant for pointing me to:
>
> > scipy.io.read_array
>
> In testing, I've found that it's very slow (for my needs), though quite
> nifty in other ways, so I'm sure I'll find a use for it in the future.

Just a quick note Travis sent to me privately: he suggested using
io.numpyio.fread instead of Numeric.fromstring() for speed reasons.  I don't
know if it will help in your case, I just mention it in case it helps.

Cheers,

F




More information about the NumPy-Discussion mailing list