Reverse the directions of data array axes in place.
Equivalent to indexing the specified dimensions with ::-1.
Parameters : |
|
---|---|
Returns : | None |
Examples
>>> f.reverse_dims('time')
>>> f.reverse_dims(1)
>>> f.reverse_dims('dim2')
>>> f.reverse_dims(['time', 1, 'dim2'])