See https://github.com/dask/dask/issues/6551
()
| 1553 | |
| 1554 | |
| 1555 | def test_quantile_tiny_partitions(): |
| 1556 | """See https://github.com/dask/dask/issues/6551""" |
| 1557 | df = pd.DataFrame({"a": [1, 2, 3]}) |
| 1558 | ddf = dd.from_pandas(df, npartitions=3) |
| 1559 | r = ddf["a"].quantile(0.5).compute() |
| 1560 | assert r == 2 |
| 1561 | |
| 1562 | |
| 1563 | def test_quantile_trivial_partitions(): |