Skip to content

Conversation

@natmokval
Copy link
Contributor

xref #56945

removed from PeriodIndex.asfreq unnecessary raising ValueError for invalid period freq. Now we raise this ValueError for invalid period freq in to_offset.

@natmokval natmokval marked this pull request as ready for review February 8, 2024 08:19
@natmokval natmokval added Clean Frequency DateOffsets labels Feb 8, 2024
@natmokval
Copy link
Contributor Author

@MarcoGorelli, could you please take a look at this PR?

@MarcoGorelli MarcoGorelli added this to the 3.0 milestone Feb 8, 2024
Copy link
Member

@MarcoGorelli MarcoGorelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, good to clean up unnecessary branches

@MarcoGorelli MarcoGorelli merged commit 67055d5 into pandas-dev:main Feb 8, 2024
pmhatre1 pushed a commit to pmhatre1/pandas-pmhatre1 that referenced this pull request May 7, 2024
…r invalid period freq (pandas-dev#57300) remove from asfreq unnecessary raising ValueError, correct tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2 participants