Repository navigation
Conversation
nrows
|
I think the code is ready to go, although some other eyes are welcome! There are a few issues though before we can merge this:
On a separate note, you didn't have to close #5090 and send a new PR, just push a new commit to your repository. That makes it easier to follow the discussion for others. Although you probably will have to create a new PR to fix the branch issue on this one. |
There was a problem hiding this comment.
this still needs a
.. versionadded:: 1.10.0
after the description separated by a newline, see e.g. percentile docstring in 1.9
There was a problem hiding this comment.
also replace should not with must not be used
|
I don't think we actually care about the feature branch thing -
|
It does cause problems long term in keeping the local master in sync with upstream. The best way to do that is to only update master from upstream. For a one-off PR, it doesn't really matter, but hopefully new contributors will make more than one PR . |
nrowsnrows to genfromtxt, closes #5084
Thanks for your comments. I'm not familar with github workflow, I'll follow the guide the next time. |
|
Closing this. The fun continues in #5103 and the mailing list. |
This allows one to specify the maximum number of row processed in in a call. The new functionality allows for reading more complex data formats. For instance, multiple calls can be used to read in multiple arrays stored in a single file. Closes numpy#5084. Closes numpy#5093.
Add keyword
nrowsto specify the number of rows to read.nrowsandskip_footerin the same time. (As skip_footer require loading of the whole file, it seems a bit waste when we have already specified the number of rows to read. And the process forinvalid valuewould be more complex withskip_footer.)Add tests for the new behavior.