class pandas.DatetimeTZDtype(unit='ns', tz=None)
[source]
An ExtensionDtype for timezone-aware datetime data.
This is not an actual numpy dtype, but a duck type.
Parameters: |
|
---|---|
Raises: |
|
>>> pd.DatetimeTZDtype(tz='UTC') datetime64[ns, UTC]
>>> pd.DatetimeTZDtype(tz='dateutil/US/Central') datetime64[ns, tzfile('/usr/share/zoneinfo/US/Central')]
unit | The precision of the datetime data. |
tz | The timezone. |
None |
© 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.DatetimeTZDtype.html