Flip (reverse the direction of) axes of the data array in place.
See also
expand_dims, squeeze, swapaxes, transpose
Select the axes. By default all axes are flipped. Each axis is identified by its integer position. No axes are flipped if axes is an empty sequence.
If True then update the data array in place. By default a new data array is created.
out : cf.Data
>>> d.flip() >>> d.flip(1) >>> d.flip([0, 1]) >>> d.flip([])
>>> e = d[::-1, :, ::-1] >>> d.flip((2, 0)).equals(e) True
cf.Data.flat
cf.Data.floor
Enter search terms or a module, class or function name.