-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Limit to user defined max number of rows #275
Labels
Comments
cbrittingham
changed the title
[FEATURE] Limit to user defined max number of lines
[FEATURE] Limit to user defined max number of rows
Aug 5, 2019
cbrittingham
pushed a commit
to cbrittingham/fast-csv
that referenced
this issue
Aug 5, 2019
cbrittingham
pushed a commit
to cbrittingham/fast-csv
that referenced
this issue
Aug 5, 2019
cbrittingham
added a commit
to cbrittingham/fast-csv
that referenced
this issue
Aug 27, 2019
Feature: add maxRows for C2FO#275
doug-martin
added a commit
that referenced
this issue
Dec 17, 2019
* [ADDED] `maxRows` option to limit the number of rows parsed. #275 #277 - @cbrittingham * [ADDED] `skipRows` to allow skipping parsed rows see parsing.md * [ADDED] `skipLines` to allow skipping entire lines of a csv parsing.md #267 * Exported formatting and parsing types. * Removed `.npmignore` in favor of `package.json` files
Released in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The origin of this feature was a use case where I wanted to read and process headers prior to processing the rest of the data (with the newly defined headers).
I could see other use cases where you might want to limit the amount of data read. (and perhaps a companion option to start on a given row to support some type of pagination logic)
I have a working solution that adds a maxRows option.
I plan to submit a pull request for consideration.
The text was updated successfully, but these errors were encountered: