-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
[WIP] Complete offset prefix mapping #20562
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
`Easter` was the only offset class without prefix,
pandas/tseries/offsets.py
Outdated
CustomBusinessMonthEnd, # 'CBM' | ||
CustomBusinessMonthBegin, # 'CBMS' | ||
CustomBusinessHour, # 'CBH' | ||
Day, # 'D' | ||
Easter, # 'EASTER' |
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.
don't need Easter in this list
Hello @tv3141! Thanks for updating the PR. Cheers ! There are no PEP8 issues in this Pull Request. 🍻 Comment last updated on April 02, 2018 at 12:06 Hours UTC |
CustomBusinessMonthEnd, # 'CBM' | ||
CustomBusinessMonthBegin, # 'CBMS' | ||
CustomBusinessHour, # 'CBH' |
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.
What’s the logic behind reordering these?
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.
They were ordered alphabetically by alias. The reason was human readability.
This PR is out-of-date. I did more work on this here fix_lwom, but test were failing because of imo unrelated reasons, and I did not add it to this PR.
I will rebase and try again. Hopefully, this PR is then in shape to be merged.
closing as stale. if you'd like to continue working, pls ping. |
Checklist for PRs :
git diff upstream/master -u -- "*.py" | flake8 --diff