You are viewing documentation about an older version (1.21.0). View latest version

modin.pandas.DataFrame.convert_dtypes¶

DataFrame.convert_dtypes(infer_objects: bool = True, convert_string: bool = True, convert_integer: bool = True, convert_boolean: bool = True, convert_floating: bool = True, dtype_backend: Literal['pyarrow', 'numpy_nullable'] = 'numpy_nullable')[source]¶

Convert columns to best possible dtypes using dtypes supporting pd.NA.

This is not supported in Snowpark pandas because Snowpark pandas always uses nullable data types internally. Calling this method will raise a NotImplementedError.