method
ndarray.
ravel
Return a flattened array.
Refer to numpy.ravel for full documentation.
numpy.ravel
See also
equivalent function
ndarray.flat
a flat iterator on the array.