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

Method rechunk

xarray/tests/test_parallelcompat.py:53–56  ·  view source on GitHub ↗
(self, chunks, **kwargs)

Source from the content-addressed store, hash-verified

51 self.chunks = getattr(obj, "chunks", None) # type: ignore[assignment]
52
53 def rechunk(self, chunks, **kwargs):
54 copied = self.copy()
55 copied.chunks = chunks
56 return copied
57
58
59class DummyChunkManager(ChunkManagerEntrypoint):

Callers 6

_shift_one_dimMethod · 0.45
_roll_one_dimMethod · 0.45
test_auto_chunk_daFunction · 0.45
test_char_to_bytes_daskFunction · 0.45
rechunkMethod · 0.45

Calls 1

copyMethod · 0.45

Tested by

no test coverage detected