python问题:only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`) and integer or boolea

only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`) and integer or boolean arrays are valid indices 我的错误问题: 因为x,y的型号不符合,所以出错。 加一个强制转换,问题解决。 程序正常运行。
相关文章
相关标签/搜索