MCPcopy Index your code
hub / github.com/dask/dask / swapaxes

Method swapaxes

dask/array/core.py:2918–2929  ·  view source on GitHub ↗

Return a view of the array with ``axis1`` and ``axis2`` interchanged. Refer to :func:`dask.array.swapaxes` for full documentation. See Also -------- dask.array.swapaxes : equivalent function

(self, axis1, axis2)

Source from the content-addressed store, hash-verified

2916 )
2917
2918 def swapaxes(self, axis1, axis2):
2919 """Return a view of the array with ``axis1`` and ``axis2`` interchanged.
2920
2921 Refer to :func:`dask.array.swapaxes` for full documentation.
2922
2923 See Also
2924 --------
2925 dask.array.swapaxes : equivalent function
2926 """
2927 from dask.array.routines import swapaxes
2928
2929 return swapaxes(self, axis1, axis2)
2930
2931 def round(self, decimals=0):
2932 """Return array with each element rounded to the given number of decimals.

Callers 2

_averageFunction · 0.80
test_swapaxesFunction · 0.80

Calls 1

swapaxesFunction · 0.90

Tested by 1

test_swapaxesFunction · 0.64