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
to_period works correctly on individual timestamp objects with timezone information. When it is applied to datetime indexes with timezone information though, the conversion appears to happen based on the underlying UTC timestamp.
For example:
index = date_range('2000-1-1', periods=1000, freq='D', tz = 'Australia/Sydney')
index[0].to_period('D') # gives a different result from:
index.to_period('D')[0]
The text was updated successfully, but these errors were encountered:
to_period works correctly on individual timestamp objects with timezone information. When it is applied to datetime indexes with timezone information though, the conversion appears to happen based on the underlying UTC timestamp.
For example:
index = date_range('2000-1-1', periods=1000, freq='D', tz = 'Australia/Sydney')
index[0].to_period('D') # gives a different result from:
index.to_period('D')[0]
The text was updated successfully, but these errors were encountered: