TypeError numpy.float64 object cannot be interpreted as an index 解决方法

首先可以参考:
https://blog.csdn.net/qq_41821678/article/details/105643630

无法解决可以:
找到对应numpy的错误位置,手动添加int
在这里插入图片描述

更多推荐