numpy.ndarray.flatten# method. ndarray. 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. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.