NaN and inf (NumPy)

np.nan represents a missing or undefined floating-point value ('Not a Number'), and np.inf represents infinity.