pandas.Timestamp.tz_convert — pandas 0.24.2 documentation (original) (raw)
Timestamp.
tz_convert
¶
Convert tz-aware Timestamp to another time zone.
Parameters: | tz : str, pytz.timezone, dateutil.tz.tzfile or None Time zone for time which Timestamp will be converted to. None will remove timezone holding UTC time. |
---|---|
Returns: | converted : Timestamp |
Raises: | TypeError If Timestamp is tz-naive. |