Skip to content
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

Pandas read_csv with chunksize stops before end of file #12228

Open
jcrist opened this issue Feb 3, 2016 · 0 comments
Open

Pandas read_csv with chunksize stops before end of file #12228

jcrist opened this issue Feb 3, 2016 · 0 comments
Labels
Bug IO CSV read_csv, to_csv

Comments

@jcrist
Copy link
Contributor

jcrist commented Feb 3, 2016

I have a massive csv file (54 GB, ~2.7 billion records) that I'm trying to process in chunks using chunksize. The csv reader stopped before hitting the end of the file. Upon further investigation, I found that it stopped after reading 2147483648 rows, which, is (2**32)/2. I assume there's an overflow happening somewhere inside the cython code for read_csv.

@jreback jreback added this to the Next Major Release milestone Feb 5, 2016
@mroeschke mroeschke removed this from the Contributions Welcome milestone Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug IO CSV read_csv, to_csv
Projects
None yet
Development

No branches or pull requests

4 participants