()
| 4476 | |
| 4477 | |
| 4478 | def test_bool(): |
| 4479 | df = pd.DataFrame(np.arange(100).reshape((10, 10))) |
| 4480 | ddf = dd.from_pandas(df, npartitions=2) |
| 4481 | conditions = [ddf, ddf[0], ddf == ddf, ddf[0] == ddf[0]] |
| 4482 | for cond in conditions: |
| 4483 | with pytest.raises(ValueError): |
| 4484 | bool(cond) |
| 4485 | |
| 4486 | |
| 4487 | def test_cumulative_multiple_columns(): |