()
| 2495 | |
| 2496 | |
| 2497 | def test_to_dask_dataframe(): |
| 2498 | pytest.importorskip("pandas") |
| 2499 | dd = pytest.importorskip("dask.dataframe") |
| 2500 | a = da.ones((4,), chunks=(2,)) |
| 2501 | d = a.to_dask_dataframe() |
| 2502 | assert isinstance(d, dd.Series) |
| 2503 | |
| 2504 | a = da.ones((4, 4), chunks=(2, 2)) |
| 2505 | d = a.to_dask_dataframe() |
| 2506 | assert isinstance(d, dd.DataFrame) |
| 2507 | |
| 2508 | |
| 2509 | def test_np_array_with_zero_dimensions(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…