-
报错代码
np.isinf(Table)
-
nmupy错误提示:
TypeError: ufunc ‘isinf’ not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ‘‘safe’’
-
原因
Table 数据中存在非数值型的数据,比如str -
解决方法
删除Table数据中的非数值型数据
TypeError: ufunc ‘isinf‘ not supported for the input types, and the inputs could not be safely...
最新推荐文章于 2024-06-05 11:18:56 发布