numpy.flipud
- numpy.flipud(m)
Reverse the order of elements along axis 0 (up/down).
For a 2-D array, this flips the entries in each column in the up/down direction. Rows are preserved, but appear in a different order than before.
- Parameters:
- m : array_like
Input array.
- Returns:
- out : array_like