Permute the dimensions of the data array.
See also
Parameters: |
|
---|---|
Returns: | out : cf.CoordinateBounds |
Examples: |
>>> f.shape
(2, 3, 4)
>>> f.transpose()
>>> f.shape
(4, 3, 2)
>>> f.transpose([1, 2, 0])
>>> f.shape
(3, 2, 4)
>>> f.transpose((1, 0, 2))
>>> f.shape
(2, 3, 4)