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
Create a simple apply function which does nothing but returns each value. Notice that that values are converted to UTC by default and the timezone information is lost, and a timezone-naive value is returned instead.
Hi,
apply() silently removes time zone information from DateTime values. I think this bug is related to #10668, but it is apparently not the same.
Code Sample, a copy-pastable example if possible
Create a simple apply function which does nothing but returns each value. Notice that that values are converted to UTC by default and the timezone information is lost, and a timezone-naive value is returned instead.
Expected Output
Apply is expected to return the original series, values unchanged, including the time zone information.
output of
pd.show_versions()
The text was updated successfully, but these errors were encountered: