GCXS.transpose

GCXS.transpose(axes=None, compressed_axes=None)[source]

Returns a new array which has the order of the axes switched.

Parameters:
  • axes (Iterable[int], optional) – The new order of the axes compared to the previous one. Reverses the axes by default.

  • compressed_axes (Iterable[int], optional) – The axes to compress to store the array. Finds the most efficient storage by default.

Returns:

The new array with the axes in the desired order.

Return type:

GCXS

See also

GCXS.T

A quick property to reverse the order of the axes.

numpy.ndarray.transpose

Numpy equivalent function.