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

CLN: remove from PeriodIndex.asfreq unnecessary raising ValueError for invalid period freq #57300

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
55 checks passed
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants