Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
read_csv: chunksize clashes with nrows #6774
Comments
jreback
added CSV Docs Usage Question
labels
Apr 3, 2014
jreback
added this to the
0.14.0
milestone
Apr 3, 2014
|
I think easiest ATM to simply raise NotImplementedError if both Implemented is a bit non-trivial but would be useful I agree. You want to do a PR for the NotImplementedError? Then we'll create an issue to implement this at some point. |
jreback
modified the milestone: 0.15.0, 0.14.0
Apr 21, 2014
|
I would like to but find io/parsers.py quite confusing.
449 read_csv = _make_parser_function('read_csv', sep=',')
450 read_csv = Appender(_read_csv_doc)(read_csv)
|
michaelaye
referenced
this issue
May 9, 2014
Merged
adding a NotImplementedError for simultaneous use of nrows and chunksize... #7085
jreback
added Error Reporting and removed Docs Usage Question
labels
May 9, 2014
jreback
modified the milestone: 0.14.1, 0.15.0
May 30, 2014
jreback
modified the milestone: 0.15.0, 0.14.1
Jun 17, 2014
michaelaye
added a commit
to michaelaye/pandas
that referenced
this issue
Jun 24, 2014
|
|
michaelaye + |
19a1083
|
michaelaye commentedApr 3, 2014
If nrows are determined, the use of chunksize option does not create a TextFileReader object.
My suggestion:
I would find it useful to get chunks of x size, but only for the first n row of a huge file.