-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
BUG: Incorrect addition of Week(weekday=6) to DatetimeIndex #22695
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
Hello @reidy-p! Thanks for submitting the PR.
|
doc/source/whatsnew/v0.24.0.txt
Outdated
@@ -629,7 +629,7 @@ Datetimelike | |||
- Bug in :meth:`DataFrame.eq` comparison against ``NaT`` incorrectly returning ``True`` or ``NaN`` (:issue:`15697`, :issue:`22163`) | |||
- Bug in :class:`DatetimeIndex` subtraction that incorrectly failed to raise ``OverflowError`` (:issue:`22492`, :issue:`22508`) | |||
- Bug in :class:`DatetimeIndex` incorrectly allowing indexing with ``Timedelta`` object (:issue:`20464`) | |||
- | |||
- Bug in :class:`DatetimeIndex` where addition of Week offset with weekday=6 had no effect (:issue:`22465`) |
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.
Was this bug present in 0.23.x? I think it wasn't, in which case this entry can be removed as users never saw it.
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.
No I don't think this bug was in 0.23.x because the changes causing this bug are also part of 0.24.0 so I guess we can remove this whatsnew entry
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.
Tests are passing. Don't forget to do this! Either @reidy-p or @TomAugspurger
Great. Since CI is almost done passing, we can just remove it when merging. Thanks for following up on this! |
Thanks! |
…ev#22695) * BUG: Incorrect addition of Week(weekday=6) to DatetimeIndex
…ev#22695) * BUG: Incorrect addition of Week(weekday=6) to DatetimeIndex
git diff upstream/master -u -- "*.py" | flake8 --diff