-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: concat of objects with the same timezone get reset to UTC #7795
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
Comments
This looks difficult problem than I thought. Because these timezones are distinguished because of DST,
https://github.com/pydata/pandas/blob/master/pandas/tseries/index.py#L2061 |
@sinhrks I think this is a creation issue in the way |
Ah I see. Actually each creation and inference results in different tz.
|
@sinhrks pr for this? |
I notice this bug also happens when using the + operator on two dataframes |
you should file a new issue with s reproducible example then |
http://stackoverflow.com/questions/24830952/changing-timezone-on-pandas-datetimeindex-when-concatenating-dataframes-in-pytho
I think the because the 2nd index is only length 2 its freq is not inferred causing a reset to UTC.
The text was updated successfully, but these errors were encountered: