Flip dimensions of the data array and space in place.
Parameters :
axes :sequence, optional
The dimensions to be flipped. By default all dimensions are
flipped. Dimensions to be flipped may be identified with one
of, or a sequence of any combination of:
A dimension’s standard name.
The integer position of a dimension in the data array.