-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
BUG: DataFrame.asof() : Timezone Awareness / Naivety comparison TypeError #22198
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
msmarchena
commented
Aug 4, 2018
- closes DataFrame.asof() : Timezone Awareness / Naivety comparison TypeError (incorrect) #21194
- tests added / passed
- whatsnew entry
Codecov Report
@@ Coverage Diff @@
## master #22198 +/- ##
=========================================
Coverage ? 92.06%
=========================================
Files ? 169
Lines ? 50694
Branches ? 0
=========================================
Hits ? 46671
Misses ? 4023
Partials ? 0
Continue to review full report at Codecov.
|
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.
LGTM!
doc/source/whatsnew/v0.23.1.txt
Outdated
@@ -138,3 +138,4 @@ Bug Fixes | |||
|
|||
- Tab completion on :class:`Index` in IPython no longer outputs deprecation warnings (:issue:`21125`) | |||
- Bug preventing pandas being used on Windows without C++ redistributable installed (:issue:`21106`) | |||
- Bug in :func:`Dataframe.asof` that raised a ``TypeError`` when attempting to compare tz-naive and tz-aware timestamps (:issue:`21194`) |
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.
Could you move this entry to v0.24.0.txt?
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.
I have moved the entry to v0.24.0.txt, section "Timezones". I hope it is OK.
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.
Good choice!
doc/source/whatsnew/v0.23.1.txt
Outdated
@@ -137,4 +137,4 @@ Bug Fixes | |||
**Other** | |||
|
|||
- Tab completion on :class:`Index` in IPython no longer outputs deprecation warnings (:issue:`21125`) | |||
- Bug preventing pandas being used on Windows without C++ redistributable installed (:issue:`21106`) |
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 we undo this diff
here?
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.
Every thing looks OK in my local and in github. I don't know how this happen.
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 need to. Just run (relative to your pandas
code directory):
git checkout origin/master doc/source/whatsnew/v0.23.1.txt
Commit this change and push 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.
I'm going to delete the wrong commits
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.
I have deleted the commit and done a new one. I don't understand I didn't touch that line and it's there again.
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.
I have done your suggestion. I hope it is OK
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.
It's not passing the Travis CI test. Any idea?
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.
CI looks good to me 🙂
@jreback @mroeschke Can you have a look? This looks ready to merge. |
thanks @msmarchena |
Thanks to all of you. |
and sorry for the mess, it was my first PR ;-) |