[Numpy-discussion] np.loadtxt : yet a new implementation...

Christopher Barker Chris.Barker@noaa....
Mon Dec 1 17:19:24 CST 2008

Stéfan van der Walt wrote:
>> important to you, why are you using ascii I/O?

ascii I/O is slow, so that's a reason in itself to want it not to be slower!

> More "I" than "O"!  But I think numpy.fromfile, once fixed up, could
> fill this niche nicely.

I agree -- for the simple cases, fromfile() could work very well -- 
perhaps it could even be used to speed up some special cases of loadtxt.

But is anyone working on fromfile()?

By the way, I think overloading fromfile() for text files is a bit 
misleading for users -- I propose we have a fromtextfile() or something 


Christopher Barker, Ph.D.

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception


More information about the Numpy-discussion mailing list