cf
Data.
flip
Reverse the direction of axes of the data array.
See also
expand_dims, squeeze, swapaxes, transpose
expand_dims
squeeze
swapaxes
transpose
int
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.
bool
If True then update the data array in place. By default a new data array is created.
out: cf.Data
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