()
| 4467 | |
| 4468 | |
| 4469 | def test_bool(): |
| 4470 | df = pd.DataFrame(np.arange(100).reshape((10, 10))) |
| 4471 | ddf = dd.from_pandas(df, npartitions=2) |
| 4472 | conditions = [ddf, ddf[0], ddf == ddf, ddf[0] == ddf[0]] |
| 4473 | for cond in conditions: |
| 4474 | with pytest.raises(ValueError): |
| 4475 | bool(cond) |
| 4476 | |
| 4477 | |
| 4478 | def test_cumulative_multiple_columns(): |