-
-
Notifications
You must be signed in to change notification settings - Fork 19.4k
Update holiday.py to reflect that MLK Jr. Day was first observed in 1986. #10282
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
|
Hi,
|
|
Memorial day is already fixed in #9763 but it needs a test before it can be pushed. Maybe it's best to incorporate the test there into this PR. Also, all your other changes need tests. |
|
Also, New Year's Day is offset to the nearest workday for US Holidays. https://www.opm.gov/policy-data-oversight/snow-dismissal-procedures/federal-holidays/. Every other calendar used for holiday work uses a similar convention and so I think it makes sense to leave the rule as it is. These rules are mostly meant to be examples and cover the standard use cases so it makes sense to leave New Years going to nearest_workday. |
|
OK, thanks. That makes a lot of sense. And you're right re: federal If Memorial Day is fixed elsewhere, then it seems like only MLK is the only Thanks, On Fri, Jun 5, 2015 at 8:58 AM, rockg [email protected] wrote:
Chris Clearfield |
|
@clearf can you add some tests? |
|
@jreback sorry for the delay (camping). Happy to add some tests. Some pointers to the test/build process would be great. Thanks, On Fri, Jun 26, 2015 at 4:33 PM, jreback [email protected] wrote:
Chris Clearfield |
|
Great, thanks. On Fri, Jul 3, 2015 at 6:09 PM, jreback [email protected] wrote:
Chris Clearfield |
pandas/tests/test_tseries.py
Outdated
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.
you can put the imports at the top of the file with the rest of them.
|
looks good. couple of minor comments, then pls squash. ping when green. |
|
@jreback, OK, comments added and imports moved. All checks passed. And my apologies: I squashed my most recent commits, but could not figure out how to squash my commits from early June that predated the merge. Let me know if you know how to do this and I can fix. |
|
contributing docs here: http://pandas.pydata.org/pandas-docs/stable/contributing.html pls rebase/squash |
|
Ok, thanks. On Mon, Aug 10, 2015 at 04:04 Jeff Reback [email protected] wrote:
|
doc/source/whatsnew/v0.17.0.txt
Outdated
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.
add on #9760 as well here
|
[edit] @jreback Jeff, I think I rebased all my commits correctly and pushed. But I still see 226 files changed, when obviously I only changed a few. I'm still not sure if I'm doing this correctly. I think some of these are from my upstream fetch? Sorry, this is my first time doing this. I'm happy to start from scratch with a new PR. |
70b0d70 to
38b5418
Compare
|
you need to |
|
@jreback And... I think we're there. Thanks for the guidance/patience. |
|
merged via 8ccdf48 thanks! |
|
Small victories. :)
|
closes #9760
Fixing MLK day not observed before 1986, per #10278 (comment)