[Numpy-discussion] Possible roadmap addendum: building better text file readers

Pauli Virtanen pav@iki...
Thu Feb 23 13:53:47 CST 2012


Hi,

23.02.2012 20:32, Wes McKinney kirjoitti:
[clip]
> To be clear: I'm going to do this eventually whether or not it
> happens in NumPy because it's an existing problem for heavy
> pandas users. I see no reason why the code can't emit structured
> arrays, too, so we might as well have a common library component
> that I can use in pandas and specialize to the DataFrame internal
> structure.

If you do this, one useful aim could be to design the code such that it
can be used in loadtxt, at least as a fast path for common cases. I'd
really like to avoid increasing the number of APIs for text file loading.

-- 
Pauli Virtanen



More information about the NumPy-Discussion mailing list