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
date_range permits to include the timezone with the "tz" arguments like this: dr = date_range(start, periods=2, tz='US/Eastern'). However this fails with an assert that the inferred timezone is not the same as the given timezone. So I suppose the inferred timezone is wrong.
Edit: this seems like a deeper problem unrelated to this issue. I opened a new issue for that.
If 'start' is a timezone-aware datetime.datetime or Timestamp, then it will get shifted by several hours.
It seems that start' time component was treated as if it's UTC by date_range.
The text was updated successfully, but these errors were encountered: