(ds)
| 43 | random.shuffle(xs) |
| 44 | |
| 45 | def _to_pandas(ds): |
| 46 | return ds.map_batches(lambda x: x, batch_size=None, batch_format="pandas") |
| 47 | |
| 48 | # Test built-in global sum aggregation |
| 49 | ds = ray.data.from_items([{"A": x} for x in xs]).repartition(num_parts) |
no test coverage detected
searching dependent graphs…