pyinterp.TemporalAxis.flip

pyinterp.TemporalAxis.flip#

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

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).