pandas.api.extensions.ExtensionArray.dtype#

property ExtensionArray.dtype[源代码]#

ExtensionDtype 的一个实例。

参见

api.extensions.ExtensionDtype

Base class for extension dtypes.

api.extensions.ExtensionArray

Base class for extension array types.

api.extensions.ExtensionArray.dtype

The dtype of an ExtensionArray.

Series.dtype

The dtype of a Series.

DataFrame.dtype

The dtype of a DataFrame.

例子

>>> pd.array([1, 2, 3]).dtype
Int64Dtype()