Skip to content

Fix warning for extra fields in read_csv with on_bad_lines callable #61885

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

Closed

Conversation

tisjayy
Copy link
Contributor

@tisjayy tisjayy commented Jul 17, 2025

@tisjayy tisjayy force-pushed the warn-extra-fields-on-bad-lines branch from 7f4f705 to deb11c1 Compare July 17, 2025 05:14
@tisjayy tisjayy changed the title BUG: Fix warning for extra fields in read_csv with on_bad_lines callable Fix warning for extra fields in read_csv with on_bad_lines callable Jul 17, 2025
@tisjayy tisjayy force-pushed the warn-extra-fields-on-bad-lines branch 2 times, most recently from 770d863 to 1dd964b Compare July 17, 2025 05:32
@tisjayy tisjayy force-pushed the warn-extra-fields-on-bad-lines branch from 1dd964b to f43b3e2 Compare July 17, 2025 05:41
@tisjayy
Copy link
Contributor Author

tisjayy commented Jul 17, 2025

trailing white space is annoying

@tisjayy tisjayy force-pushed the warn-extra-fields-on-bad-lines branch 2 times, most recently from f6e5a95 to 643b12c Compare July 17, 2025 06:21
@tisjayy tisjayy force-pushed the warn-extra-fields-on-bad-lines branch from 643b12c to 75ad64b Compare July 17, 2025 18:10
@tisjayy
Copy link
Contributor Author

tisjayy commented Jul 17, 2025

pre-commit.ci autofix

@tisjayy tisjayy closed this Jul 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: read_csv() on_bad_lines callable does not raise ParserWarning when index_col is set
1 participant