[Numpy-discussion] Add `nrows` to `genfromtxt`

Chris Barker chris.barker at noaa.gov
Mon Nov 3 13:07:03 EST 2014


On Sat, Nov 1, 2014 at 7:31 AM, Warren Weckesser <warren.weckesser at gmail.com
> wrote:

> (2) Multiple arrays in a single file:
>
> ...


> The file contains multiple arrays. Each array is
> preceded by a line containing the number of rows
> and columns in that array. The `max_rows` argument
> would make it easy to read this file with genfromtxt:
>

+inf on this one -- this is a use case I've been looking for support for
ages!

-Chris


-- 

Christopher Barker, Ph.D.
Oceanographer

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

Chris.Barker at noaa.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20141103/399fabe7/attachment.html>


More information about the NumPy-Discussion mailing list