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