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

Replace deprecated argument error_bad_lines and method iteritems() for pandas #92

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

LuighiV
Copy link

@LuighiV LuighiV commented Apr 6, 2023

With new pandas version 2.0.0, the argument and method were removed, retrieving an error.

Reference: https://pandas.pydata.org/docs/whatsnew/v2.0.0.html#removal-of-prior-version-deprecations-changes

closes #88
closes #93

@LuighiV LuighiV changed the title Replace deprecated argument error_bad_lines for pandas Replace deprecated argument error_bad_lines and method iteritems() for pandas Apr 6, 2023
LuighiV added a commit to openpolitica/open-tracker-devops that referenced this pull request Apr 6, 2023
@fgregg
Copy link

fgregg commented Apr 9, 2023

@simonw it would be great to get this pulled in.

@taniki
Copy link

taniki commented Apr 21, 2023

If you need to work with csvs-to-sqlite before this PR gets merged

pip install --force-reinstall "pandas~=1.0"

@chrismp
Copy link

chrismp commented Sep 13, 2023

@simonw Anything more you need before merging this request?

@chrismp
Copy link

chrismp commented Sep 19, 2023

@LuighiV You should try a pull request with the csvs-update-sqlite repo: https://github.com/dkaoster/csvs-update-sqlite. It is updated more often. Selfishly, I would like to see your pull request incorporated in that repo because I've switched to using csvs-update-sqlite!

@simonw simonw added the bug label Mar 11, 2024
@simonw
Copy link
Owner

simonw commented Mar 11, 2024

OK, let's fix this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecated iteritems() attribute for Series error_bad_lines argument has been deprecated
5 participants