Skip to content

BUG: read_csv ignoring non existing header rows for python engine #47493

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

Merged
merged 2 commits into from
Jun 24, 2022

Conversation

phofl
Copy link
Member

@phofl phofl commented Jun 24, 2022

Initially, I thought this would be a case for deprecation, but this was simply a bug and was supposed to work before.
Also, I aligned the error message of the python parser with the c parser

@phofl phofl added Bug IO CSV read_csv, to_csv labels Jun 24, 2022
@mroeschke mroeschke added this to the 1.5 milestone Jun 24, 2022
@mroeschke mroeschke merged commit c3b4af9 into pandas-dev:main Jun 24, 2022
@mroeschke
Copy link
Member

Thanks @phofl

@phofl phofl deleted the 47400 branch June 25, 2022 14:23
yehoshuadimarsky pushed a commit to yehoshuadimarsky/pandas that referenced this pull request Jul 13, 2022
…ndas-dev#47493)

* BUG: read_csv ignoring non existing header rows for python engine

* Rename variable
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

Successfully merging this pull request may close these issues.

DEPR: read_csv header with non-exisiting rows behaving differently
2 participants