pandas.DatetimeTZDtype¶
-
class
pandas.DatetimeTZDtype(unit='ns', tz=None)[source]¶ A np.dtype duck-typed class, suitable for holding a custom datetime with tz dtype.
THIS IS NOT A REAL NUMPY DTYPE, but essentially a sub-class of np.datetime64[ns]
Attributes
nameA string representation of the dtype. namesOrdered list of field names, or None if there are no fields. tzThe timezone. unitThe precision of the datetime data. subdtype Methods
construct_array_type()Return the array type associated with this dtype construct_from_string(string)Construct a DatetimeTZDtype from a string. is_dtype(dtype)Check if we match ‘dtype’. reset_cache()clear the cache typealias of pandas._libs.tslibs.timestamps.Timestamp