从扩展类型转换时,例如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")