不理解的 StringDtype 数据类型
StringDtype data type not understood
从扩展类型转换时,例如pd.Int32Dtype()
,我得到 TypeError: data type not understood
。示例:
num_col_with_nan = num_col_with_nan.astype(pd.Int32Dtype()).astype("string")
从扩展类型转换时,例如pd.Int32Dtype()
,我得到 TypeError: data type not understood
。示例:
num_col_with_nan = num_col_with_nan.astype(pd.Int32Dtype()).astype("string")