1.python遇到ufunc ‘multiply’ did not contain a loop with signature matching types (dtype(‘<U3’), dtype(‘float64’)) -> None的错误
解决办法:
查看一下np的变量是不是string类型,同时进行了±*/的操作
python调错
![](https://img-home.csdnimg.cn/images/20240711042549.png)
1.python遇到ufunc ‘multiply’ did not contain a loop with signature matching types (dtype(‘<U3’), dtype(‘float64’)) -> None的错误
解决办法:
查看一下np的变量是不是string类型,同时进行了±*/的操作