版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_41185868/article/details/85470938
解决问题
TypeError: ‘float’ object cannot be interpreted as an index
解决方法
因为编程代码使用的numpy版本不一样导致,只需要降级或者升级至最新版即可!
pip install -U numpy==1.11.0
相关文章
https://blog.csdn.net/u011148366/article/details/66478356?utm_source=itdadao&utm_medium=referral