numpy.recarray.flatten
method
- 
recarray.flatten(order='C')
- 
Return a copy of the array collapsed into one dimension. Parameters: - 
order : {‘C’, ‘F’, ‘A’, ‘K’}, optional
- 
‘C’ means to flatten in row-major (C-style) order. ‘F’ means to flatten in column-major (Fortran- style) order. ‘A’ means to flatten in column-major order if ais Fortran contiguous in memory, row-major order otherwise. ‘K’ means to flattenain the order the elements occur in memory. The default is ‘C’.
 Returns: - 
y : ndarray
- 
A copy of the input array, flattened to one dimension. 
 Examples>>> a = np.array([[1,2], [3,4]]) >>> a.flatten() array([1, 2, 3, 4]) >>> a.flatten('F') array([1, 3, 2, 4])
- 
    © 2005–2019 NumPy Developers
Licensed under the 3-clause BSD License.
    https://docs.scipy.org/doc/numpy-1.16.1/reference/generated/numpy.recarray.flatten.html