ndarray
class ndarray[dtype, ndim]
Fields
2
dtype
type
ndim
Literal[int]
Constructors
2
__new__(shape: Tuple[ndim, int], strides: Tuple[ndim, int], data: Ptr[dtype])
Defined in
numpy.ndarray__new__(shape: Tuple[ndim, int], data: Ptr[dtype], fcontig: bool = False)
Defined in
numpy.ndarray
Properties
11
Methods
54
transpose(self, *axes)
Defined in
numpy.ndarraytranspose(self, axes: List[int])
Defined in
numpy.ndarrayargpartition(self, kth, axis: int = -1, kind: str = "introselect")
Added by
numpy.sortingsum(self, axis = None, dtype: type = NoneType, out = None, keepdims: Literal[bool] = False, initial = 0, where = util._NoValue())
Added by
numpy.reductionsprod(self, axis = None, dtype: type = NoneType, out = None, keepdims: Literal[bool] = False, initial = 1, where = util._NoValue())
Added by
numpy.reductionsmean(self, axis = None, dtype: type = NoneType, out = None, keepdims: Literal[bool] = False, where = util._NoValue())
Added by
numpy.reductionsnanmean(self, axis = None, dtype: type = NoneType, out = None, keepdims: Literal[bool] = False, where = util._NoValue())
Added by
numpy.reductionsvar(self, axis = None, dtype: type = NoneType, out = None, ddof: int = 0, keepdims: Literal[bool] = False, where = util._NoValue())
Added by
numpy.reductionsnanvar(self, axis = None, dtype: type = NoneType, out = None, ddof: int = 0, keepdims: Literal[bool] = False, where = util._NoValue())
Added by
numpy.reductionsstd(self, axis = None, dtype: type = NoneType, out = None, ddof: int = 0, keepdims: Literal[bool] = False, where = util._NoValue())
Added by
numpy.reductionsnanstd(self, axis = None, dtype: type = NoneType, out = None, ddof: int = 0, keepdims: Literal[bool] = False, where = util._NoValue())
Added by
numpy.reductionsmin(self, axis = None, dtype: type = NoneType, out = None, ddof: int = 0, keepdims: Literal[bool] = False, initial = util._NoValue(), where = util._NoValue())
Added by
numpy.reductionsmax(self, axis = None, dtype: type = NoneType, out = None, ddof: int = 0, keepdims: Literal[bool] = False, initial = util._NoValue(), where = util._NoValue())
Added by
numpy.reductionsargmin(self, axis = None, out = None, keepdims: Literal[bool] = False)
Added by
numpy.reductionsargmax(self, axis = None, out = None, keepdims: Literal[bool] = False)
Added by
numpy.reductionsany(self, axis = None, out = None, keepdims: Literal[bool] = False, where = util._NoValue())
Added by
numpy.reductionsall(self, axis = None, out = None, keepdims: Literal[bool] = False, where = util._NoValue())
Added by
numpy.reductionstrace(self, offset: int = 0, axis1: int = 0, axis2: int = 1, dtype: type = NoneType, out = None)
Added by
numpy.linalg.linalg
Special methods
65