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

Update deprecated pandas offset alias #85

Merged
merged 1 commit into from
Jul 30, 2024

Conversation

connortann
Copy link
Contributor

The pandas offset alias for hour is h, and the capitalised version H is deprecated.

FutureWarning: 'H' is deprecated and will be removed in a future version. Please use 'h' instead of 'H'.

This PR updates all uses of "__H" to "__h".

@georgebv
Copy link
Owner

@connortann thank you. Can you point me to changelogs where they made this change? We need to make sure this doesn't cause issues with the older supproted pandas versions.

@georgebv
Copy link
Owner

Looks like it's supported since 1.0 (earliest supported pandas in pyextremes) so we are good https://pandas.pydata.org/pandas-docs/version/1.0/reference/api/pandas.to_timedelta.html

@georgebv georgebv merged commit a38f78e into georgebv:master Jul 30, 2024
6 of 10 checks passed
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.

2 participants