numpy.reductions
newaxis = None
class SumRedux[T]
Fields
2
total
T
T
type
Constructors
1
Methods
8
class NanSumRedux[T]
Fields
2
total
T
T
type
Constructors
1
Methods
8
class ProdRedux[T]
Fields
2
total
T
T
type
Constructors
1
Methods
8
class NanProdRedux[T]
Fields
2
total
T
T
type
Constructors
1
Methods
8
class MeanRedux[T]
Fields
2
total
T
T
type
Constructors
1
Methods
9
class NanMeanRedux[T]
Fields
3
total
T
T
type
nan_count
int
Constructors
1
Methods
6
class MinRedux[T]
Fields
2
m
Optional[T]
T
type
Constructors
1
Methods
8
class MaxRedux[T]
Fields
2
m
Optional[T]
T
type
Constructors
1
Methods
8
class PTPRedux[T]
Fields
3
hi
Optional[T]
lo
Optional[T]
T
type
Constructors
1
Methods
6
class ArgMinRedux[T]
Fields
3
m
Optional[T]
i
int
T
type
Constructors
1
Methods
5
class ArgMaxRedux[T]
Fields
3
m
Optional[T]
i
int
T
type
Constructors
1
Methods
5
class AnyRedux[T]
Fields
2
a
bool
T
type
Constructors
1
Methods
5
class AllRedux[T]
Fields
2
a
bool
T
type
Constructors
1
Methods
5
class NonZeroRedux[T]
Fields
2
nonzero
int
T
type
Constructors
1
Methods
7
sum[dtype: type = NoneType, keepdims: Literal[bool] = False](a, axis = None, out = None, initial = 0, where = util._NoValue())
nansum[dtype: type = NoneType, keepdims: Literal[bool] = False](a, axis = None, out = None, initial = 0, where = util._NoValue())
prod[dtype: type = NoneType, keepdims: Literal[bool] = False](a, axis = None, out = None, initial = 1, where = util._NoValue())
nanprod[dtype: type = NoneType, keepdims: Literal[bool] = False](a, axis = None, out = None, initial = 1, where = util._NoValue())
mean[dtype: type = NoneType, keepdims: Literal[bool] = False](a, axis = None, out = None, where = util._NoValue())
nanmean[dtype: type = NoneType, keepdims: Literal[bool] = False](a, axis = None, out = None, where = util._NoValue())
var[dtype: type = NoneType, keepdims: Literal[bool] = False](a, axis = None, out = None, ddof: int = 0, where = util._NoValue())
nanvar[dtype: type = NoneType, keepdims: Literal[bool] = False](a, axis = None, out = None, ddof: int = 0, where = util._NoValue())
std[dtype: type = NoneType, keepdims: Literal[bool] = False](a, axis = None, out = None, ddof: int = 0, where = util._NoValue())
nanstd[dtype: type = NoneType, keepdims: Literal[bool] = False](a, axis = None, out = None, ddof: int = 0, where = util._NoValue())
min[dtype: type = NoneType, keepdims: Literal[bool] = False](a, axis = None, out = None, ddof: int = 0, initial = util._NoValue(), where = util._NoValue())
max[dtype: type = NoneType, keepdims: Literal[bool] = False](a, axis = None, out = None, ddof: int = 0, initial = util._NoValue(), where = util._NoValue())
ptp[keepdims: Literal[bool] = False](a, axis = None, out = None)
argmin[keepdims: Literal[bool] = False](a, axis = None, out = None)
argmax[keepdims: Literal[bool] = False](a, axis = None, out = None)
any[keepdims: Literal[bool] = False](a, axis = None, out = None, where = util._NoValue())
all[keepdims: Literal[bool] = False](a, axis = None, out = None, where = util._NoValue())
count_nonzero[keepdims: Literal[bool] = False](a, axis = None)
median[keepdims: Literal[bool] = False](a, axis = None, out = None, overwrite_input: bool = False)
nanmedian[keepdims: Literal[bool] = False](a, axis = None, out = None, overwrite_input: bool = False)
quantile[keepdims: Literal[bool] = False](a, q, axis = None, out = None, overwrite_input: bool = False, method: str = "linear", interpolation = None)
nanquantile[keepdims: Literal[bool] = False](a, q, axis = None, out = None, overwrite_input: bool = False, method: str = "linear", interpolation = None)
percentile[keepdims: Literal[bool] = False](a, q, axis = None, out = None, overwrite_input: bool = False, method: str = "linear", interpolation = None)
nanpercentile[keepdims: Literal[bool] = False](a, q, axis = None, out = None, overwrite_input: bool = False, method: str = "linear", interpolation = None)
class ndarray[dtype, ndim]
Extends
numpy.ndarray.ndarray ยท View complete class API โ
Methods
15
sum[dtype: type = NoneType, keepdims: Literal[bool] = False](self: Self, axis = None, out = None, initial = 0, where = util._NoValue())
prod[dtype: type = NoneType, keepdims: Literal[bool] = False](self: Self, axis = None, out = None, initial = 1, where = util._NoValue())
mean[dtype: type = NoneType, keepdims: Literal[bool] = False](self: Self, axis = None, out = None, where = util._NoValue())
nanmean[dtype: type = NoneType, keepdims: Literal[bool] = False](self: Self, axis = None, out = None, where = util._NoValue())
var[dtype: type = NoneType, keepdims: Literal[bool] = False](self: Self, axis = None, out = None, ddof: int = 0, where = util._NoValue())
nanvar[dtype: type = NoneType, keepdims: Literal[bool] = False](self: Self, axis = None, out = None, ddof: int = 0, where = util._NoValue())
std[dtype: type = NoneType, keepdims: Literal[bool] = False](self: Self, axis = None, out = None, ddof: int = 0, where = util._NoValue())
nanstd[dtype: type = NoneType, keepdims: Literal[bool] = False](self: Self, axis = None, out = None, ddof: int = 0, where = util._NoValue())
min[dtype: type = NoneType, keepdims: Literal[bool] = False](self: Self, axis = None, out = None, ddof: int = 0, initial = util._NoValue(), where = util._NoValue())
max[dtype: type = NoneType, keepdims: Literal[bool] = False](self: Self, axis = None, out = None, ddof: int = 0, initial = util._NoValue(), where = util._NoValue())
any[keepdims: Literal[bool] = False](self: Self, axis = None, out = None, where = util._NoValue())