Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Cleanup some timedelta/datetime column logic #14715
Cleanup some timedelta/datetime column logic #14715
Changes from 7 commits
9a5a4fe
2f62408
1be1f78
0ed1120
433ff6e
9631341
8365eee
f0373d8
d746a40
f8397bb
b1ce2d1
eec7fd5
ae4251a
847cb93
41613ba
2e95199
52ffb66
40daf51
66236c0
512a023
eff9d8e
2f88a3c
f6a0ea0
3ebd26c
a679ab0
3f61b10
38bbb59
f45514b
08c589d
a4a7778
df7f465
8eef64f
a507b05
50d8ccf
c143d71
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
nit If
self.dtype
is aDatetimeTZDtype
is this code correct?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 find, no it doesn't. In pandas least for
DatetimeTZDtype
,item
must be tz-aware and the same UTC time to return True.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.
Fixed this case and added a unit test