numpy_isnan函数

  numpyisnan函数用于判断数据是否为NaN

import numpy as np

a = np.isnan(np.nan)
print("a =", a)
b = np.isnan([np.nan, 0, 

你可能感兴趣的:(python,numpy)