MCPcopy
hub / github.com/dask/dask / test_from_dict_raises

Function test_from_dict_raises

dask/dataframe/tests/test_dataframe.py:5061–5065  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5059
5060
5061def test_from_dict_raises():
5062 s = pd.Series(range(10))
5063 ds = dd.from_pandas(s, npartitions=2)
5064 with pytest.raises(NotImplementedError, match="Dask collections as inputs"):
5065 dd.DataFrame.from_dict({"a": ds}, npartitions=2)
5066
5067
5068def test_empty():

Callers

nothing calls this directly

Calls 1

from_dictMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…