Hitung No Nan dalam array 2D Python

np.count_nonzero(np.isnan(data))
Gifted Goldfinch