numpy.flipud()

numpy.flipud

numpy.flipud(m) [source]

Flip array in the up/down direction.

Flip 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

A view of m with the rows reversed. Since