-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
BUG: mixed-type mixed-timezone/awareness #55793
Changes from all commits
0cea20c
7396939
30cbf19
79ef23e
60ec374
57c8bae
0f2b27c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,8 +14,11 @@ cdef bint parse_today_now( | |
|
||
cdef class DatetimeParseState: | ||
cdef: | ||
# See comments describing these attributes in the __cinit__ method | ||
bint found_tz | ||
bint found_naive | ||
bint found_naive_str | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is it easy to add comments inline with these members or as part of the class? I can see the distinction between There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. will update with comment(s). we'll be able to simplify this a ton in 3.0 once deprecation are enforced |
||
bint found_other | ||
bint creso_ever_changed | ||
NPY_DATETIMEUNIT creso | ||
|
||
|
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.
Just to be clear this won't affect the
object
dtype case right? Maybe worth adding a test that is still possible if not already in the suiteThere 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.
as in,
pd.Index([datetime(2020, 1, 1, tzinfo=zoneinfo.ZoneInfo('US/Central')), datetime(2020, 1, 1, tzinfo=timezone.utc)])
? I don't think it should affect it, but yeah, a little test with this wouldn't hurtThere 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.
updated with test