You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In numpy, np.maximum(NaN, 2) returns NaN, but in C, fmax(Nan, 2) returns 2. Numexpr maximum/minimum calls the C-routine and doesn't perform any checks. Should be enough to just replace the functions via something like {x if isnan(x), y if isnan(y) else fmin(x,y)}.