()
| 2483 | |
| 2484 | |
| 2485 | def test_to_dask_dataframe(): |
| 2486 | pytest.importorskip("pandas") |
| 2487 | dd = pytest.importorskip("dask.dataframe") |
| 2488 | a = da.ones((4,), chunks=(2,)) |
| 2489 | d = a.to_dask_dataframe() |
| 2490 | assert isinstance(d, dd.Series) |
| 2491 | |
| 2492 | a = da.ones((4, 4), chunks=(2, 2)) |
| 2493 | d = a.to_dask_dataframe() |
| 2494 | assert isinstance(d, dd.DataFrame) |
| 2495 | |
| 2496 | |
| 2497 | def test_np_array_with_zero_dimensions(): |
nothing calls this directly
no test coverage detected