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