Python问题:RuntimeWarning: invalid value encountered in reduce return ufunc.reduce(obj, axis, dtype, o

今天在用气象数据的过程中python报错


D:\python366\lib\site-packages\numpy\core\fromnumeric.py:83: RuntimeWarning: invalid value encountered in reduce
  return ufunc.reduce(obj, axis, dtype, out, **passkwargs)

尝试过多种方法不能解决,后来发现是csv文件有错误。

参考:https://stackoverflow.com/questions/49013049/runtimewarning-invalid-value-encountered-in-reduce

Python问题:RuntimeWarning: invalid value encountered in reduce return ufunc.reduce(obj, axis, dtype, o_第1张图片

 

你可能感兴趣的:(代码小技巧)