[英]StringDtype data type not understood
從擴展類型轉換時,例如pd.Int32Dtype()
,我得到TypeError: data type not understood
pd.Int32Dtype()
。 例子:
num_col_with_nan = num_col_with_nan.astype(pd.Int32Dtype()).astype("string")
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.