pandas.arrays.
DatetimeArray
Pandas ExtensionArray for tz-naive or tz-aware datetime data.
New in version 0.24.0.
Warning
DatetimeArray is currently experimental, and its API may change without warning. In particular, DatetimeArray.dtype is expected to change to always be an instance of an ExtensionDtype subclass.
DatetimeArray.dtype
ExtensionDtype
The datetime data.
For DatetimeArray values (or a Series or Index boxing one), dtype and freq will be extracted from values.
Note that the only NumPy dtype allowed is ‘datetime64[ns]’.
The frequency.
Whether to copy the underlying array of values.
Attributes
None
Methods