pyinterp.Axis.flip#

Axis.flip(self: pyinterp.core.Axis, inplace: bool = False) pyinterp.core.Axis#

Reverse the order of elements in this axis.

Parameters:

inplace – If true, this instance will be modified, otherwise the modification will be made on a copy. Default to False.

Returns:

The flipped axis.

Return type:

pyinterp.core.Axis