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

Method rechunk

xarray/tests/test_parallelcompat.py:90–91  ·  view source on GitHub ↗
(self, data: DummyChunkedArray, chunks, **kwargs)

Source from the content-addressed store, hash-verified

88 return da.from_array(data, chunks, **kwargs)
89
90 def rechunk(self, data: DummyChunkedArray, chunks, **kwargs) -> DummyChunkedArray:
91 return data.rechunk(chunks, **kwargs)
92
93 def compute(self, *data: DummyChunkedArray, **kwargs) -> tuple[np.ndarray, ...]: # type: ignore[override]
94 from dask.array import compute

Callers

nothing calls this directly

Calls 1

rechunkMethod · 0.45

Tested by

no test coverage detected