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

Support Pandas 2.0 #250

Closed
huard opened this issue Apr 3, 2023 · 0 comments · Fixed by #251
Closed

Support Pandas 2.0 #250

huard opened this issue Apr 3, 2023 · 0 comments · Fixed by #251

Comments

@huard
Copy link
Contributor

huard commented Apr 3, 2023

Pandas 2.0 released April 3, 2023 breaks test_compare_weights_from_poly_and_grid in test_frontend.py because get_loc no longer supports the method argument.

Removed the method and tolerance arguments in Index.get_loc(). Use index.get_indexer([label], method=..., tolerance=...) instead (GH42269)

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

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 a pull request may close this issue.

1 participant