On this page
pandas.arrays.DatetimeArray.dtype
DatetimeArray.dtype-
The dtype for the DatetimeArray.
Warning
A future version of pandas will change dtype to never be a
numpy.dtype. Instead,DatetimeArray.dtypewill always be an instance of anExtensionDtypesubclass.Returns: - numpy.dtype or DatetimeTZDtype
-
If the values are tz-naive, then
np.dtype('datetime64[ns]')is returned.If the values are tz-aware, then the
DatetimeTZDtypeis returned.
© 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.24.2/reference/api/pandas.arrays.DatetimeArray.dtype.html