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

Warren Weckesser warren.weckesser at gmail.com
Sat Nov 1 21:02:04 EDT 2014


On 11/1/14, Alan G Isaac <alan.isaac at gmail.com> wrote:
> On 11/1/2014 3:15 PM, Warren Weckesser wrote:
>> I intended the result of `genfromtxt(..., max_rows=n)` to produce the same
>> array as produced by `genfromtxt(...)[:n]`.
>
> I find that counterintuitive.
> I would first honor skip_header.


Sorry for the terse explanation.  I meant for `...` to indicate any
other arguments, including skip_header.

Warren


> Cheers,
> Alan
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>



More information about the NumPy-Discussion mailing list