-
-
Notifications
You must be signed in to change notification settings - Fork 18.9k
Closed
Labels
DatetimeDatetime data dtypeDatetime data dtypeError ReportingIncorrect or improved errors from pandasIncorrect or improved errors from pandasTimezonesTimezone data dtypeTimezone data dtype
Milestone
Description
Why are there separate tz and tzinfo kwargs? The following is not intuitive:
In [12]: pd.Timestamp('2017-09-25 21:23', tz='US/Eastern')
Out[12]: Timestamp('2017-09-25 21:23:00-0400', tz='US/Eastern')
In [13]: pd.Timestamp('2017-09-25 21:23', tzinfo='US/Eastern')
Out[13]: Timestamp('2017-09-25 21:23:00')
Metadata
Metadata
Assignees
Labels
DatetimeDatetime data dtypeDatetime data dtypeError ReportingIncorrect or improved errors from pandasIncorrect or improved errors from pandasTimezonesTimezone data dtypeTimezone data dtype