This is documentation for an old release of NumPy (version 1.17). Read this page in the documentation of the latest stable release (version 2.2).
numpy.ndarray.ravel¶
method
-
ndarray.
ravel
([order])¶ Return a flattened array.
Refer to
numpy.ravel
for full documentation.See also
numpy.ravel
- equivalent function
ndarray.flat
- a flat iterator on the array.