ndarray
dtype
numpy.ma
ufunc
numpy.ctypeslib
numpy.dual
numpy.emath
numpy.fft
numpy.linalg
numpy.matlib
numpy.polynomial.polynomial
numpy.polynomial.chebyshev
numpy.polynomial.hermite
numpy.polynomial.hermite_e
numpy.polynomial.laguerre
numpy.polynomial.legendre
numpy.random
numpy.testing
numpy.typing
numpy.distutils
attribute
Base object if memory is from some other object.
Examples
The base of an array that owns its memory is None:
>>> x = np.array([1,2,3,4]) >>> x.base is None True
Slicing creates a view, whose memory is shared with x:
>>> y = x[2:] >>> y.base is x True
previous
numpy.ndarray.nbytes
next
numpy.ndarray.dtype