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

Method _shuffle

xarray/core/dataarray.py:1731–1735  ·  view source on GitHub ↗
(
        self, dim: Hashable, *, indices: GroupIndices, chunks: T_Chunks
    )

Source from the content-addressed store, hash-verified

1729 return self._from_temp_dataset(ds)
1730
1731 def _shuffle(
1732 self, dim: Hashable, *, indices: GroupIndices, chunks: T_Chunks
1733 ) -> Self:
1734 ds = self._to_temp_dataset()._shuffle(dim=dim, indices=indices, chunks=chunks)
1735 return self._from_temp_dataset(ds)
1736
1737 def head(
1738 self,

Callers

nothing calls this directly

Calls 2

_to_temp_datasetMethod · 0.95
_from_temp_datasetMethod · 0.95

Tested by

no test coverage detected