检查下是不是写错了, 是不是对原数据进行修改
# 删除缺失值行 data.dropna(subset=["变量名"],inplace=True) # 删除列 data.drop('变量名',axis=1,inplace=True)