[Numpy-discussion] Fast Reading of ASCII files

Ralf Gommers ralf.gommers at googlemail.com
Wed Dec 14 16:11:03 EST 2011


On Wed, Dec 14, 2011 at 9:54 PM, Chris Barker <chris.barker at noaa.gov> wrote:

> On Wed, Dec 14, 2011 at 11:36 AM, Benjamin Root <ben.root at ou.edu> wrote:
> >>> well, yes, though it does do a lot -- do you have a smpler one in mind?
> >>>
> >> Just looking at what I normally wouldn't need for simple data files
> and/or
> >> what a beginning user won't understand at once, the `unpack` and `ndmin`
> >> keywords could certainly be left out. `converters` is also questionable.
> >> That's probably as simple as it can get.
>
> this may be a function of a well written doc string -- if it is clear
> to the newbie that " all the rest of this you don't need unless you
> have a wierd data file", then extra keyword arguments don't really
> hurt.
>
> A few examples of the basic use-cases go a long way.
>
> And yes, the core reader for the complex cases isn't going to e fast
> (it's going to be complex C code...). but we could still have a core
> reader that handled most cases.
>
> Okay, now we're on the same page I think.


> Anyway, I think it's time write code, and see if it can be rolled in
> somehow...
>
> Agreed.

Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20111214/b1b487d8/attachment.html>


More information about the NumPy-Discussion mailing list