Dan, I find a field of my data couldn't been processed by the script, the results for it were all Null. However, the datatype(double) and other properties of this field are same as the others . The only difference is that the data of this field were calculated from some other fields using Field Calculator Tool. The warning message is below:
Warning (from warnings module):
File "C:\Users\pan\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone2\Lib\site-packages\numpy\core\fromnumeric.py", line 83
return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
RuntimeWarning: invalid value encountered in reduce
I only know some basics of Python, so I can not figure out the problem here by myself.
Do you know why the error came?