这个错误通常是因为尝试使用非整数、切片、省略号、numpy.newaxis或整数或布尔数组之外的索引来访问数组或列表。可能是在尝试访问数据时使用了无效的索引类型。需要检查代码中的索引语句,并确保使用的索引类型是有效的。

python读取excel两列数据绘制散点图only integers slices ellipsis numpynewaxis None and integer or boolean arrays are valid indices什么错误

原文地址: https://www.cveoy.top/t/topic/hg1u 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录