ravel() and flatten() (NumPy)

Both ravel() and flatten() collapse a multi-dimensional array into a 1-D array.