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

pandas 2.2 raising FutureWarning on to_datetime errors='ignore' #344

Closed
akrherz opened this issue Jan 24, 2024 · 1 comment · Fixed by #348
Closed

pandas 2.2 raising FutureWarning on to_datetime errors='ignore' #344

akrherz opened this issue Jan 24, 2024 · 1 comment · Fixed by #348

Comments

@akrherz
Copy link

akrherz commented Jan 24, 2024

with pandas 2.2 now released and installed, I get this warning from pyogrio

pyogrio/geopandas.py:49: FutureWarning: errors='ignore' is deprecated and will raise in a future version. Use to_datetime without passing `errors` and catch exceptions explicitly instead
  res = pd.to_datetime(ser, **datetime_kwargs)
@jorisvandenbossche
Copy link
Member

Yes, we already have a PR for that in geopandas (geopandas/geopandas#3128), and will need to do a similar fix in pyogrio.

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.

2 participants