pandas.Float64Dtype — pandas 3.0.0rc0+33.g1fd184de2a documentation (original) (raw)

class pandas.Float64Dtype[source]#

An ExtensionDtype for float64 data.

This dtype uses pd.NA as missing value indicator.

Attributes

Methods

See also

CategoricalDtype

Type for categorical data with the categories and orderedness.

IntegerDtype

An ExtensionDtype to hold a single size & kind of integer dtype.

StringDtype

An ExtensionDtype for string data.

Examples

For Float32Dtype:

ser = pd.Series([2.25, pd.NA], dtype=pd.Float32Dtype()) ser.dtype Float32Dtype()

For Float64Dtype:

ser = pd.Series([2.25, pd.NA], dtype=pd.Float64Dtype()) ser.dtype Float64Dtype()