Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
datetime like series .dt properties fail after ts.dt.tz_localize(tz1).dt.tz_convert(tz2) sequence #11295
Comments
witosx
changed the title from
datetime like series second tz_convert fails to datetime like series .dt properties fail after ts.dt.tz_localize(tz1).dt.tz_convert(tz2) sequence
Oct 12, 2015
jorisvandenbossche
added Bug Timeseries Timezones
labels
Oct 12, 2015
jorisvandenbossche
added this to the
0.17.1
milestone
Oct 12, 2015
|
This seems to come down to the failing of
When providing tz data to |
jreback
referenced
this issue
Oct 12, 2015
Merged
BUG: Bug in tz-conversions with an ambiguous time and .dt accessors, #11295 #11301
jreback
added a commit
to jreback/pandas
that referenced
this issue
Oct 13, 2015
|
|
jreback |
c095833
|
jreback
closed this
in #11301
Oct 13, 2015
jreback
added a commit
that referenced
this issue
Oct 13, 2015
|
|
jreback |
b5cc2ef
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
witosx commentedOct 12, 2015
Second tz_convert fails with AmbiguousTimeError ('UTC' in the example, but other timezones fail too).
EDIT: Actually it's not only second tz_convert that fails, it looks like most (if not all) of the .dt accessed properties are affected
t.dt.tz_convert('UTC')