(tmpdir)
| 83 | |
| 84 | |
| 85 | def _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 | |
| 94 | def _dataframe_broadcast_join(tmpdir): |