Why do I get attribute error in python when I try to rename columns header?

前端 未结 0 1376
忘掉有多难
忘掉有多难 2020-12-19 10:30

df_tatanic=df_tatanic.rename({\'SibSp\':\'Number of Siblings/Spouse\',\'Parch\':\'Number of Parents/Children Aboard\'},axis=1) print(df_tatanic) Traceback (most recent call

相关标签:
回答
  • 消灭零回复
提交回复
热议问题