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(a, axis = None, dtype: type = NoneType, out = None, keepdims: Literal[bool] = False, initial = 0, where = util._NoValue())
nansum(a, axis = None, dtype: type = NoneType, out = None, keepdims: Literal[bool] = False, initial = 0, where = util._NoValue())
prod(a, axis = None, dtype: type = NoneType, out = None, keepdims: Literal[bool] = False, initial = 1, where = util._NoValue())
nanprod(a, axis = None, dtype: type = NoneType, out = None, keepdims: Literal[bool] = False, initial = 1, where = util._NoValue())
mean(a, axis = None, dtype: type = NoneType, out = None, keepdims: Literal[bool] = False, where = util._NoValue())
nanmean(a, axis = None, dtype: type = NoneType, out = None, keepdims: Literal[bool] = False, where = util._NoValue())
var(a, axis = None, dtype: type = NoneType, out = None, ddof: int = 0, keepdims: Literal[bool] = False, where = util._NoValue())
nanvar(a, axis = None, dtype: type = NoneType, out = None, ddof: int = 0, keepdims: Literal[bool] = False, where = util._NoValue())
std(a, axis = None, dtype: type = NoneType, out = None, ddof: int = 0, keepdims: Literal[bool] = False, where = util._NoValue())
nanstd(a, axis = None, dtype: type = NoneType, out = None, ddof: int = 0, keepdims: Literal[bool] = False, where = util._NoValue())
min(a, axis = None, dtype: type = NoneType, out = None, ddof: int = 0, keepdims: Literal[bool] = False, initial = util._NoValue(), where = util._NoValue())
max(a, axis = None, dtype: type = NoneType, out = None, ddof: int = 0, keepdims: Literal[bool] = False, initial = util._NoValue(), where = util._NoValue())
ptp(a, axis = None, out = None, keepdims: Literal[bool] = False)
argmin(a, axis = None, out = None, keepdims: Literal[bool] = False)
argmax(a, axis = None, out = None, keepdims: Literal[bool] = False)
any(a, axis = None, out = None, keepdims: Literal[bool] = False, where = util._NoValue())
all(a, axis = None, out = None, keepdims: Literal[bool] = False, where = util._NoValue())
count_nonzero(a, axis = None, keepdims: Literal[bool] = False)
median(a, axis = None, out = None, overwrite_input: bool = False, keepdims: Literal[bool] = False)
nanmedian(a, axis = None, out = None, overwrite_input: bool = False, keepdims: Literal[bool] = False)
quantile(a, q, axis = None, out = None, overwrite_input: bool = False, method: str = "linear", keepdims: Literal[bool] = False, interpolation = None)
nanquantile(a, q, axis = None, out = None, overwrite_input: bool = False, method: str = "linear", keepdims: Literal[bool] = False, interpolation = None)
percentile(a, q, axis = None, out = None, overwrite_input: bool = False, method: str = "linear", keepdims: Literal[bool] = False, interpolation = None)
nanpercentile(a, q, axis = None, out = None, overwrite_input: bool = False, method: str = "linear", keepdims: Literal[bool] = False, interpolation = None)
class ndarray[dtype, ndim]
Extends
numpy.ndarray.ndarray ยท View complete class API โ
Methods
15
sum(self, axis = None, dtype: type = NoneType, out = None, keepdims: Literal[bool] = False, initial = 0, where = util._NoValue())
prod(self, axis = None, dtype: type = NoneType, out = None, keepdims: Literal[bool] = False, initial = 1, where = util._NoValue())
mean(self, axis = None, dtype: type = NoneType, out = None, keepdims: Literal[bool] = False, where = util._NoValue())
nanmean(self, axis = None, dtype: type = NoneType, out = None, keepdims: Literal[bool] = False, where = util._NoValue())
var(self, axis = None, dtype: type = NoneType, out = None, ddof: int = 0, keepdims: Literal[bool] = False, where = util._NoValue())
nanvar(self, axis = None, dtype: type = NoneType, out = None, ddof: int = 0, keepdims: Literal[bool] = False, where = util._NoValue())
std(self, axis = None, dtype: type = NoneType, out = None, ddof: int = 0, keepdims: Literal[bool] = False, where = util._NoValue())
nanstd(self, axis = None, dtype: type = NoneType, out = None, ddof: int = 0, keepdims: Literal[bool] = False, where = util._NoValue())
min(self, axis = None, dtype: type = NoneType, out = None, ddof: int = 0, keepdims: Literal[bool] = False, initial = util._NoValue(), where = util._NoValue())
max(self, axis = None, dtype: type = NoneType, out = None, ddof: int = 0, keepdims: Literal[bool] = False, initial = util._NoValue(), where = util._NoValue())