摘要: 部分数据输出为NaN,处理这部分异常数据使用isnan()函数 方法一:使用np.nan import numpy as np if z == np.nan: print('error') 方法二: from math import isnan isnan(z) 参考: https://www.cn 阅读全文
posted @ 2022-03-16 15:34 CAMILIA 阅读(1213) 评论(0) 推荐(0)