【发布时间】:2020-03-18 10:22:17
【问题描述】:
从扩展类型转换时,例如pd.Int32Dtype(),我得到TypeError: data type not understood。示例:
num_col_with_nan = num_col_with_nan.astype(pd.Int32Dtype()).astype("string")
【问题讨论】:
标签: python pandas pandas-1.0
从扩展类型转换时,例如pd.Int32Dtype(),我得到TypeError: data type not understood。示例:
num_col_with_nan = num_col_with_nan.astype(pd.Int32Dtype()).astype("string")
【问题讨论】:
标签: python pandas pandas-1.0