how many nan in array python

61

how many nan in array python -

np.count_nonzero(~np.isnan(data))

check nan values in a np array -

array_has_nan = np.isnan(array_sum)

Comments

Submit
0 Comments