nanfunctions.pyi 606 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. from numpy.core.fromnumeric import (
  2. amin,
  3. amax,
  4. argmin,
  5. argmax,
  6. sum,
  7. prod,
  8. cumsum,
  9. cumprod,
  10. mean,
  11. var,
  12. std
  13. )
  14. from numpy.lib.function_base import (
  15. median,
  16. percentile,
  17. quantile,
  18. )
  19. __all__: list[str]
  20. # NOTE: In reaility these functions are not aliases but distinct functions
  21. # with identical signatures.
  22. nanmin = amin
  23. nanmax = amax
  24. nanargmin = argmin
  25. nanargmax = argmax
  26. nansum = sum
  27. nanprod = prod
  28. nancumsum = cumsum
  29. nancumprod = cumprod
  30. nanmean = mean
  31. nanvar = var
  32. nanstd = std
  33. nanmedian = median
  34. nanpercentile = percentile
  35. nanquantile = quantile