数据分析AttributeError: ‘DataFrame’ object has no attribute ‘ix’

数据分析AttributeError: DataFrame object has no attribute ix
在运行DataFrame.ix时出现报错
查询时发现此博主有出现相同问题
https://blog.csdn.net/foolishpeng/article/details/105163356
了解到是因为在pandas的1.0.0版本开始,移除了Series.ix and DataFrame.ix 方法。
代替方法使用
可以使用 iloc 代替 pandas.DataFrame.iloc

数据分析AttributeError: DataFrame object has no attribute ix
问题解决、、、

相关文章:

  • 2021-09-15
  • 2021-12-07
  • 2021-12-14
  • 2021-06-06
  • 2021-07-27
  • 2021-06-21
  • 2021-08-31
  • 2021-12-04
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-23
相关资源
相似解决方案