numpy.fliplr()

numpy.fliplr

numpy.fliplr(m) [source]

Flip array in the left/right direction.

Flip the entries in each row in the left/right direction. Columns are preserved, but appear in a different order than before.

Parameters:

m : array_like

Input array, must be at least 2-D.

Returns:

f : ndarray

A view of m with the