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

Alan G Isaac alan.isaac at gmail.com
Wed Sep 24 15:20:15 EDT 2014


On 9/24/2014 2:52 PM, Jaime Fernández del Río wrote:
> There is a PR in github that adds a new keyword to the genfromtxt function, to limit the number of rows that actually get read in:
> https://github.com/numpy/numpy/pull/5103

Sorry to come late to this party, but it seems to me that
more versatile than an `nrows` keyword for the number of rows
would be a "rows" keyword for a slice argument.

fwiw,
Alan Isaac




More information about the NumPy-Discussion mailing list