源自:2-4 numpy常用操作
TypeError: only integer scalar arrays can be converted to a scalar index
为什么会这样?
提问者:慕数据3541479
2018-03-12 10:39
个回答
-
字面的意思是:只有整数标量数组才能转换成标量索引。
因为没有具体的代码,你可以看下这个链接,关于此类问题的解释和解决方案!
http://blog.csdn.net/fu_shuwu/article/details/78965553