how to check if numpy float 64 is Nan or not code example Example: check nan values in a np array array_has_nan = np.isnan(array_sum)