天宫鹤

2021年9月18日

成功解决pandas报AttributeError: DataFrame object has no attribute ix错误

摘要: 在实际操作中有时候需要把采集的数据或者分析完的数据保存为excel中,列名按照执行排序,一开始我采用DataFrame的ix方式去实现是可以达到预期的,不过最近发现好像该方法函数被移除了,运行会抛出以下错误: Traceback (most recent call last): File "test 阅读全文

posted @ 2021-09-18 16:38 GoGrid 阅读(2742) 评论(0) 推荐(0) 编辑

导航