pandas.api.extensions.ExtensionArray.dtype#
- property ExtensionArray.dtype[source]#
An instance of ExtensionDtype.
This property returns the dtype object associated with this ExtensionArray. The dtype describes the type of data stored in the array.
See also
api.extensions.ExtensionDtypeBase class for extension dtypes.
api.extensions.ExtensionArrayBase class for extension array types.
api.extensions.ExtensionArray.dtypeThe dtype of an ExtensionArray.
Series.dtypeThe dtype of a Series.
DataFrame.dtypeThe dtype of a DataFrame.
Examples
>>> pd.array([1, 2, 3]).dtype Int64Dtype()