pandas.DatetimeTZDtype.tz#

property DatetimeTZDtype.tz[source]#

The timezone.

See also

DatetimeTZDtype.unit

Retrieves precision of the datetime data.

Examples

>>> from zoneinfo import ZoneInfo
>>> dtype = pd.DatetimeTZDtype(tz=ZoneInfo("America/Los_Angeles"))
>>> dtype.tz
zoneinfo.ZoneInfo(key='America/Los_Angeles')