MCPcopy
hub / github.com/dask/dask / _dataframe_shuffle

Function _dataframe_shuffle

dask/tests/test_layers.py:76–82  ·  view source on GitHub ↗
(tmpdir)

Source from the content-addressed store, hash-verified

74
75
76def _dataframe_shuffle(tmpdir):
77 pd = pytest.importorskip("pandas")
78 dd = pytest.importorskip("dask.dataframe")
79
80 # Perform a computation using an HLG-based shuffle
81 df = pd.DataFrame({"a": range(10), "b": range(10, 20)})
82 return dd.from_pandas(df, npartitions=2).shuffle("a", shuffle_method="tasks")
83
84
85def _dataframe_tree_reduction(tmpdir):

Callers

nothing calls this directly

Calls 1

shuffleMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…