Closed ngehrsitz closed 5 months ago
Starting from numpy 2.0.0 the NaN import is missing: https://github.com/numpy/numpy/blob/v2.0.0/numpy/__init__.pyi The doc also recommends switching to nan: https://numpy.org/doc/stable/reference/constants.html#numpy.NAN
2.0.0
NaN
nan
Starting from numpy
2.0.0
theNaN
import is missing: https://github.com/numpy/numpy/blob/v2.0.0/numpy/__init__.pyi The doc also recommends switching tonan
: https://numpy.org/doc/stable/reference/constants.html#numpy.NAN