pandas.arrays.DatetimeArray.dtype

DatetimeArray.dtype

The dtype for the DatetimeArray.

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 DatetimeTZDtype is returned.

Scroll To Top