iarray.transpose(a: IArray, cfg=None, **kwargs)#

Transpose an array.

  • a (IArray container) – The array to transpose.

  • cfg (Config) – The configuration for running the expression. If None (default), global defaults are used. The np_dtype will be the one from a.

  • kwargs (dict) – A dictionary for setting some or all of the fields in the Config dataclass that should override the current configuration.


The transposed array.

Return type

IArray container