()
| 413 | |
| 414 | @pytest.mark.skipif("not dd") |
| 415 | def test_compute_dataframe(): |
| 416 | df = pd.DataFrame({"a": [1, 2, 3, 4], "b": [5, 5, 3, 3]}) |
| 417 | ddf = dd.from_pandas(df, npartitions=2) |
| 418 | ddf1 = ddf.a + 1 |
| 419 | ddf2 = ddf.a + ddf.b |
| 420 | out1, out2 = compute(ddf1, ddf2) |
| 421 | dd.utils.assert_eq(out1, df.a + 1) |
| 422 | dd.utils.assert_eq(out2, df.a + df.b) |
| 423 | |
| 424 | |
| 425 | @pytest.mark.skipif("not dd") |
nothing calls this directly
no test coverage detected
searching dependent graphs…