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

Function _dataframe_tree_reduction

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

Source from the content-addressed store, hash-verified

83
84
85def _dataframe_tree_reduction(tmpdir):
86 pd = pytest.importorskip("pandas")
87 dd = pytest.importorskip("dask.dataframe")
88
89 # Perform a computation using an HLG-based tree reduction
90 df = pd.DataFrame({"a": range(10), "b": range(10, 20)})
91 return dd.from_pandas(df, npartitions=2).mean()
92
93
94def _dataframe_broadcast_join(tmpdir):

Callers

nothing calls this directly

Calls 1

meanMethod · 0.45

Tested by

no test coverage detected