Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Inconsistent behavior initializing DatetimeIndex to tz with list/array of string times #4229
Comments
jorisvandenbossche
referenced
this issue
Jul 13, 2013
Merged
BUG: initialize DatetimeIndex with array of strings (#4229) #4234
jorisvandenbossche
added a commit
to jorisvandenbossche/pandas
that referenced
this issue
Jul 14, 2013
|
|
jorisvandenbossche |
46ba51f
|
jreback
added a commit
that referenced
this issue
Jul 14, 2013
|
|
jreback |
35312e4
|
|
closed via #4234 |
jreback
closed this
Jul 14, 2013
yarikoptic
added a commit
to neurodebian/pandas
that referenced
this issue
Jul 25, 2013
|
|
yarikoptic |
0dfc597
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rockg commentedJul 13, 2013
Initializing a DatetimeIndex with a list of strings behaves differently than initializing with a numpy array of strings. To me these should behave the same and I personally like the list behavior better. My understanding of the tz argument to DatetimeIndex is that it is localizing rather than converting in which case the numpy array case is inconsistent. I don't think there should be an assumption made about the tz of the strings before indicating it by localizing.