Skip to content

ENH: Improve error message when names and usecols do not match for read_csv with engine=c #38452

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 3 commits into from
Dec 13, 2020

Conversation

phofl
Copy link
Member

@phofl phofl commented Dec 13, 2020

@pep8speaks
Copy link

pep8speaks commented Dec 13, 2020

Hello @phofl! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2020-12-13 16:22:49 UTC

@phofl phofl added IO CSV read_csv, to_csv Error Reporting Incorrect or improved errors from pandas labels Dec 13, 2020
@jreback jreback added this to the 1.3 milestone Dec 13, 2020
@jreback jreback merged commit 8f81d0e into pandas-dev:master Dec 13, 2020
@phofl phofl deleted the 29042_error_message branch December 13, 2020 18:29
luckyvs1 pushed a commit to luckyvs1/pandas that referenced this pull request Jan 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Error Reporting Incorrect or improved errors from pandas IO CSV read_csv, to_csv
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: read_csv with trailing comma, specified header names and usecols gives confusing error
3 participants