W3cubDocs

/pandas 0.25

pandas.Timestamp.tz_convert

Timestamp.tz_convert(self, tz)

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.

© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.25.0/reference/api/pandas.Timestamp.tz_convert.html