MCPcopy Create free account
hub / github.com/dask/dask / shuffle

Method shuffle

dask/array/core.py:2813–2829  ·  view source on GitHub ↗

Reorders one dimensions of a Dask Array based on an indexer. Refer to :func:`dask.array.shuffle` for full documentation. See Also -------- dask.array.shuffle : equivalent function

(
        self,
        indexer: list[list[int]],
        axis: int,
        chunks: Literal["auto"] = "auto",
    )

Source from the content-addressed store, hash-verified

2811 return rechunk(self, chunks, threshold, block_size_limit, balance, method)
2812
2813 def shuffle(
2814 self,
2815 indexer: list[list[int]],
2816 axis: int,
2817 chunks: Literal["auto"] = "auto",
2818 ):
2819 """Reorders one dimensions of a Dask Array based on an indexer.
2820
2821 Refer to :func:`dask.array.shuffle` for full documentation.
2822
2823 See Also
2824 --------
2825 dask.array.shuffle : equivalent function
2826 """
2827 from dask.array._shuffle import shuffle
2828
2829 return shuffle(self, indexer, axis, chunks)
2830
2831 @property
2832 def real(self):

Callers 15

_dataframe_shuffleFunction · 0.45
_shuffle_opFunction · 0.45
shuffled_listdirFunction · 0.45
mainFunction · 0.45
_testFunction · 0.45
permutationMethod · 0.45
_shuffleFunction · 0.45
test_shuffleFunction · 0.45

Calls 1

shuffleFunction · 0.90

Tested by 15

_dataframe_shuffleFunction · 0.36
_shuffle_opFunction · 0.36
shuffled_listdirFunction · 0.36
mainFunction · 0.36
_testFunction · 0.36
test_shuffleFunction · 0.36
test_unknown_chunk_sizesFunction · 0.36
test_oob_axisFunction · 0.36