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

Backport PR #56945 on branch 2.2.x (ENH: raise ValueError if invalid period freq pass to asfreq when the index of df is a PeriodIndex) #57292

Conversation

MarcoGorelli
Copy link
Member

(cherry picked from commit cb97ce6)

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Tests added and passed if fixing a bug or adding a new feature
  • All code checks passed.
  • Added type annotations to new arguments/methods/functions.
  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

…d freq pass to asfreq when the index of df is a PeriodIndex'

(cherry picked from commit cb97ce6)
@MarcoGorelli MarcoGorelli added this to the 2.2.1 milestone Feb 7, 2024
@MarcoGorelli MarcoGorelli added the Frequency DateOffsets label Feb 7, 2024
@MarcoGorelli MarcoGorelli merged commit 45fc954 into pandas-dev:2.2.x Feb 7, 2024
57 of 58 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Frequency DateOffsets
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants