@property<EOL><INDENT>def dtype(self) -> Union[np.dtype, DatetimeTZDtype]:<DEDENT>
return self._dtype<EOL>
The dtype for the DatetimeArray.

.. warning::

   A future version of pandas will change dtype to never be a
   ``numpy.dtype``. Instead, :attr:`DatetimeArray.dtype` will
   always be an instance of an ``ExtensionDtype`` subclass.

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.