NumPy · Const
np.nan
numpy.nan is NumPy's IEEE 754 floating-point value for Not a Number. Use it to represent a NaN result and detect it with numpy.isnan.
Last updated
Syntax
numpy.nanIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
numpy.isnannumpy.isfinite