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

name A string representation of the dtype.
names Ordered list of field names, or None if there are no fields.
tz The timezone.
unit The 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
type alias of pandas._libs.tslibs.timestamps.Timestamp
Scroll To Top