Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Bug: UTC in to_datetime() not working in 0.17.1 #11934
Comments
|
This line should be: https://github.com/pydata/pandas/blob/master/pandas/tseries/tools.py#L308
though to be honest this flag is just confusing IMHO. Users should simply use |
jreback
added Bug Difficulty Novice Timezones Effort Low
labels
Dec 31, 2015
jreback
added this to the
Next Major Release
milestone
Dec 31, 2015
gfyoung
referenced
this issue
Feb 19, 2016
Closed
BUG: Return UTC DateTimeIndex when specified in to_datetime #12391
jreback
modified the milestone: 0.18.0, Next Major Release
Feb 19, 2016
gfyoung
added a commit
to gfyoung/pandas
that referenced
this issue
Feb 19, 2016
|
|
gfyoung |
fa794a5
|
jreback
closed this
in e39f63a
Feb 20, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
yueatwork commentedDec 30, 2015
In the case below, setting
utc=Truein pandas.to_datetime actually removes the UTC attribute from the input:the last function removes the UTC attribute from the input, even though
utcis set toTrue.This only happens in pandas 0.17.1. pandas 0.16.x have a different implementation and does not have this issue.