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

MAINT: pandas offset alias updates #242

Open
1 of 2 tasks
jklenzing opened this issue Aug 20, 2024 · 0 comments · Fixed by #243
Open
1 of 2 tasks

MAINT: pandas offset alias updates #242

jklenzing opened this issue Aug 20, 2024 · 0 comments · Fixed by #243

Comments

@jklenzing
Copy link
Member

jklenzing commented Aug 20, 2024

Description

Pandas is updating the offset alias strings for pandas 3.0.0. These are implemented in pandas 2.2.0, and usage of old syntax will generate a FutureWarning.

According to SPEC-0000, support for pandas 2.1.0 should be maintained through Aug 2025.

Path forward

  • Use if / else notation based on pandas version to ensure forward/backward compatibility
  • Drop these and set a minimum pandas version once support is dropped for pandas<2.2.

Additional context

https://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#offset-aliases

@jklenzing jklenzing added bug Something isn't working and removed bug Something isn't working labels Aug 20, 2024
@jklenzing jklenzing linked a pull request Aug 20, 2024 that will close this issue
11 tasks
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