np is nan python code example
Example 1: np where nan
np.argwhere(np.isnan(x))
Example 2: python3 is nan
>>> import math
>>> x = float('nan')
>>> math.isnan(x)
True
np.argwhere(np.isnan(x))
>>> import math
>>> x = float('nan')
>>> math.isnan(x)
True