📜  ValueError:使用可迭代设置时必须具有相等的 len 键和值 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:35.777000             🧑  作者: Mango

代码示例1
df['B'] = df['B'].astype(object)
df.dtypes

A     int64
B    object
dtype: object