()
| 4488 | |
| 4489 | |
| 4490 | def test_bool(): |
| 4491 | df = pd.DataFrame(np.arange(100).reshape((10, 10))) |
| 4492 | ddf = dd.from_pandas(df, npartitions=2) |
| 4493 | conditions = [ddf, ddf[0], ddf == ddf, ddf[0] == ddf[0]] |
| 4494 | for cond in conditions: |
| 4495 | with pytest.raises(ValueError): |
| 4496 | bool(cond) |
| 4497 | |
| 4498 | |
| 4499 | def test_cumulative_multiple_columns(): |