MCPcopy
hub / github.com/dask/dask / rechunk

Method rechunk

dask/array/core.py:2798–2816  ·  view source on GitHub ↗

Convert blocks in dask array x for new chunks. Refer to :func:`dask.array.rechunk` for full documentation. See Also -------- dask.array.rechunk : equivalent function

(
        self,
        chunks="auto",
        threshold=None,
        block_size_limit=None,
        balance=False,
        method=None,
    )

Source from the content-addressed store, hash-verified

2796 return squeeze(self, axis)
2797
2798 def rechunk(
2799 self,
2800 chunks="auto",
2801 threshold=None,
2802 block_size_limit=None,
2803 balance=False,
2804 method=None,
2805 ):
2806 """Convert blocks in dask array x for new chunks.
2807
2808 Refer to :func:`dask.array.rechunk` for full documentation.
2809
2810 See Also
2811 --------
2812 dask.array.rechunk : equivalent function
2813 """
2814 from dask.array.rechunk import rechunk # avoid circular import
2815
2816 return rechunk(self, chunks, threshold, block_size_limit, balance, method)
2817
2818 def shuffle(
2819 self,

Callers 15

insertFunction · 0.95
test_fusion_barrier_taskFunction · 0.45
apply_gufuncFunction · 0.45
shuffle_sliceFunction · 0.45
to_zarrFunction · 0.45
unify_chunksFunction · 0.45
to_npy_stackFunction · 0.45
reshapeFunction · 0.45

Calls 1

rechunkFunction · 0.90