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

Fix issues related to new Pandas offset names #3117

Merged
merged 12 commits into from
Feb 2, 2024

Conversation

lostella
Copy link
Contributor

@lostella lostella commented Feb 1, 2024

Description of changes: hour offset in pandas 2.2 has now .name == h and not H. Others have change as well, breaking some of the time features and lags logic. This PR makes things work for both pandas <2.2 and >=2.2

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Please tag this pr with at least one of these labels to make our release process faster: BREAKING, new feature, bug fix, other change, dev setup

@lostella lostella added the pending v0.14.x backport This contains a fix to be backported to the v0.14.x branch label Feb 1, 2024
@lostella lostella changed the title Fix doctest for gluonts.time_feature.seasonality Fix issues related to new Pandas offset names Feb 1, 2024
@lostella lostella added the dependency This involves dependencies issues label Feb 1, 2024
abdulfatir
abdulfatir previously approved these changes Feb 1, 2024
@lostella lostella merged commit 3559896 into awslabs:dev Feb 2, 2024
19 checks passed
@lostella lostella deleted the fix-seasonality-doctest branch February 2, 2024 09:29
lostella added a commit to lostella/gluonts that referenced this pull request Feb 2, 2024
*Description of changes:* hour offset in pandas 2.2 has now `.name == h`
and not `H`. Others have change as well, breaking some of the time
features and lags logic. This PR makes things work for both pandas <2.2
and >=2.2

By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.


**Please tag this pr with at least one of these labels to make our
release process faster:** BREAKING, new feature, bug fix, other change,
dev setup
@lostella lostella mentioned this pull request Feb 2, 2024
@lostella lostella removed the pending v0.14.x backport This contains a fix to be backported to the v0.14.x branch label Feb 2, 2024
@fbreuer fbreuer mentioned this pull request Mar 18, 2024
@lostella lostella added the pending v0.14.x backport This contains a fix to be backported to the v0.14.x branch label May 24, 2024
lostella added a commit to lostella/gluonts that referenced this pull request Nov 7, 2024
*Description of changes:* hour offset in pandas 2.2 has now `.name == h`
and not `H`. Others have change as well, breaking some of the time
features and lags logic. This PR makes things work for both pandas <2.2
and >=2.2

By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.

**Please tag this pr with at least one of these labels to make our
release process faster:** BREAKING, new feature, bug fix, other change,
dev setup
@lostella lostella mentioned this pull request Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependency This involves dependencies issues pending v0.14.x backport This contains a fix to be backported to the v0.14.x branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants