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

Method shuffle

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

2822 return rechunk(self, chunks, threshold, block_size_limit, balance, method)
2823
2824 def shuffle(
2825 self,
2826 indexer: list[list[int]],
2827 axis: int,
2828 chunks: Literal["auto"] = "auto",
2829 ):
2830 """Reorders one dimensions of a Dask Array based on an indexer.
2831
2832 Refer to :func:`dask.array.shuffle` for full documentation.
2833
2834 See Also
2835 --------
2836 dask.array.shuffle : equivalent function
2837 """
2838 from dask.array._shuffle import shuffle
2839
2840 return shuffle(self, indexer, axis, chunks)
2841
2842 @property
2843 def real(self):

Callers 15

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

Calls 1

shuffleFunction · 0.90

Tested by 15

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