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
When iterating over a Series of datetime objects that have timezone info on them, the returned value has the timezone info but also alters the time according to that timezone info, as seen in example below:
time_points is the index of a dataframe with values:
This looks suspiciously like the other issue I reported #8890, which was the inverse of this problem. So It might not have been a real bug in the first place. Or it was resolved in some other way and the fix made it resolved twice. :) @jorisvandenbossche@jreback
@Oxtay so the value of the Timestamp was fixed by the prior issue, but when constructed in this particular way the tz was not (and hence the hour was off). I think it was just a slightl difference in how datetimes and Timestamp are constructed from the underlying c-structure (for this type of time zone). Fixed up now. thanks for the report.
When iterating over a Series of datetime objects that have timezone info on them, the returned value has the timezone info but also alters the time according to that timezone info, as seen in example below:
time_points
is the index of a dataframe with values:However, for the following command:
the output is:
The text was updated successfully, but these errors were encountered: