39 lines
613 B
Python
39 lines
613 B
Python
from numpy._core.fromnumeric import (
|
|
amin,
|
|
amax,
|
|
argmin,
|
|
argmax,
|
|
sum,
|
|
prod,
|
|
cumsum,
|
|
cumprod,
|
|
mean,
|
|
var,
|
|
std
|
|
)
|
|
|
|
from numpy.lib._function_base_impl import (
|
|
median,
|
|
percentile,
|
|
quantile,
|
|
)
|
|
|
|
__all__: list[str]
|
|
|
|
# NOTE: In reaility these functions are not aliases but distinct functions
|
|
# with identical signatures.
|
|
nanmin = amin
|
|
nanmax = amax
|
|
nanargmin = argmin
|
|
nanargmax = argmax
|
|
nansum = sum
|
|
nanprod = prod
|
|
nancumsum = cumsum
|
|
nancumprod = cumprod
|
|
nanmean = mean
|
|
nanvar = var
|
|
nanstd = std
|
|
nanmedian = median
|
|
nanpercentile = percentile
|
|
nanquantile = quantile
|