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",
)
| 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): |