-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: Breaking change to offsets.pyx - MonthOffset #39887
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
Conversation
Fixes to year, quarter and month offsets.
Minor formatting changes.
Minor formatting changes.
Temporary unfixing of the default months for `QuarterBegin` and `BQuarterBegin`.
Add ability to use `MonthBegin`, `BMonthBegin` and `BMonthEnd` as periods, e.g., by using their offset aliases as `freq` in `date_range`. It would address pandas-dev#38914.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you add a test for this that fails on current master.
you also need to adjust tests for this change.
im wary of this. inevitably someone is going to be confused as to why If we were doing this from scratch, I would keep DateOffsets totally unrelated to PeriodDtypes. |
done |
I find this really sketchy. MonthBegin doesn't correspond to a Period. I just dont understand the motivation here. |
This pull request is stale because it has been open for thirty days with no activity. Please update or respond to this comment if you're still interested in working on this. |
@Pawel-Kranzberg can you address #39887 (comment) |
I plan to do it next week. In a nutshell, there are existing issues that reference the need for |
Thanks for the PR, but it appears that it has gotten stale and there's some uncertainty that around this proposed change. Closing, but glad to have you help on other open issues. |
Add ability to use class
MonthBegin
as a period.It would address #38914 and #38859.