()
| 522 | |
| 523 | |
| 524 | def test_from_array_partition_pruning(): |
| 525 | arr = np.random.random(size=(200, 2)) |
| 526 | df = dd.from_array(arr, chunksize=100) |
| 527 | result = df.partitions[1] |
| 528 | expected = arr[100:] |
| 529 | assert_eq(result, pd.DataFrame(expected, index=list(range(100, 200)))) |
| 530 | |
| 531 | |
| 532 | def test_map_partitions_assign_fusedio(tmpdir): |