MCPcopy Create free account
hub / github.com/dask/dask / test_from_dask_array_empty_chunks

Function test_from_dask_array_empty_chunks

dask/dataframe/io/tests/test_io.py:500–503  ·  view source on GitHub ↗
(chunksizes, expected_divisions)

Source from the content-addressed store, hash-verified

498 ],
499)
500def test_from_dask_array_empty_chunks(chunksizes, expected_divisions):
501 monotonic_index = da.from_array(np.arange(6), chunks=chunksizes)
502 df = dd.from_dask_array(monotonic_index)
503 assert df.divisions == expected_divisions
504
505
506def test_from_dask_array_unknown_width_error():

Callers

nothing calls this directly

Calls 1

arangeMethod · 0.45

Tested by

no test coverage detected