numpy.ndarray.array — NumPy v1.18 Manual (original) (raw)
- NumPy.org
- Docs
- NumPy v1.18 Manual
- NumPy Reference
- Array objects
- The N-dimensional array (ndarray)
- index
- next
- previous
Previous topic
Next topic
Quick search
method
ndarray.
__array__
()¶
Returns either a new reference to self if dtype is not given or a new array of provided data type if dtype is different from the current dtype of the array.