()
| 427 | |
| 428 | |
| 429 | def test_from_dask_array(): |
| 430 | import dask.array as da |
| 431 | |
| 432 | arr = da.ones((20, 4), chunks=(2, 2)) |
| 433 | df = from_dask_array(arr, columns=["a", "b", "c", "d"]) |
| 434 | pdf = pd.DataFrame(arr.compute(), columns=["a", "b", "c", "d"]) |
| 435 | assert_eq(df, pdf) |
| 436 | |
| 437 | |
| 438 | @pytest.mark.parametrize("columns", [1, "aa"]) |
nothing calls this directly
no test coverage detected
searching dependent graphs…