pyinterp.Axis.flip#
- Axis.flip(self, inplace: bool = False) pyinterp.core.Axis#
Reverse the order of elements in the axis.
- Parameters:
inplace – If True, modify this instance in place. If False, return a flipped copy. Defaults to False.
- Returns:
The flipped axis (self when inplace is True, otherwise a copy).