MCPcopy
hub / github.com/dask/dask / shuffle

Method shuffle

dask/array/core.py:2818–2834  ·  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

2816 return rechunk(self, chunks, threshold, block_size_limit, balance, method)
2817
2818 def shuffle(
2819 self,
2820 indexer: list[list[int]],
2821 axis: int,
2822 chunks: Literal["auto"] = "auto",
2823 ):
2824 """Reorders one dimensions of a Dask Array based on an indexer.
2825
2826 Refer to :func:`dask.array.shuffle` for full documentation.
2827
2828 See Also
2829 --------
2830 dask.array.shuffle : equivalent function
2831 """
2832 from dask.array._shuffle import shuffle
2833
2834 return shuffle(self, indexer, axis, chunks)
2835
2836 @property
2837 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