You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We do have tests asserting this object dtype (test_construction_index_with_mixed_timezones), but could use more documentation in to_datetime regarding this behavior
Note: This behaviour might be a bug. I'm assuming its an undocumented feature.
Location of the documentation
pandas.to_datetime.html
Documentation problem
to_datetime
outputs different types depending on if the timezones are mixed or not (assumingutc=True
not passed in).Suggested fix for documentation
Specify aforementioned behaviour in documentation (in the
returns
section). Or, if not intentional feature, update the API to be type-stable.The text was updated successfully, but these errors were encountered: