TypeError: Index(...) must be called with a collection of some kind, ' 数据分析 2023年8月31日 1 评论 1038 阅读 原因: 如果你的数据只有一列,在指定column时,需要加个中括号 解决: df = pd.DataFrame(data,columns=['result'])
评论列表,共 0 条评论
暂无评论