MCPcopy Index your code
hub / github.com/pydata/xarray / transpose

Method transpose

xarray/core/indexing.py:1799–1801  ·  view source on GitHub ↗
(self, order)

Source from the content-addressed store, hash-verified

1797 self.array[indexer.tuple] = value
1798
1799 def transpose(self, order):
1800 xp = self.array.__array_namespace__()
1801 return xp.permute_dims(self.array, order)
1802
1803
1804def _apply_vectorized_indexer_dask_wrapper(indices, coord):

Callers

nothing calls this directly

Calls 2

permute_dimsMethod · 0.80
__array_namespace__Method · 0.45

Tested by

no test coverage detected