See https://github.com/dask/dask/issues/6551
()
| 1535 | |
| 1536 | |
| 1537 | def test_quantile_tiny_partitions(): |
| 1538 | """See https://github.com/dask/dask/issues/6551""" |
| 1539 | df = pd.DataFrame({"a": [1, 2, 3]}) |
| 1540 | ddf = dd.from_pandas(df, npartitions=3) |
| 1541 | r = ddf["a"].quantile(0.5).compute() |
| 1542 | assert r == 2 |
| 1543 | |
| 1544 | |
| 1545 | def test_quantile_trivial_partitions(): |