-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
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
Concat Series[datetimetz] & Series[category] loses timezone #23816
Comments
Hi, Can my team and I contribute to this issue? Thanks. |
Sure, you can give it a shot. I'm not sure where the best place is for the fix yet. Somewhere in |
That's the offset from the timezone ("US/Pacific"). Looking more closely, I think the issue is at pandas/pandas/core/dtypes/concat.py Line 194 in dc8d35a
We call to_concat = [np.asarray(x.astype(object)) for x in to_concat] We know we need object dtype anyway, so there's no avoiding that. We need the Maybe give that change a shot and see if the tests still pass. |
Okay I'll take a look at the suggested change. Thanks! |
This should be closed |
@evangelineliu things are closed with a merged pull request |
Out[10] should have a tz like the following
The text was updated successfully, but these errors were encountered: