MCPcopy
hub / github.com/dask/dask / test_coerce

Function test_coerce

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

Source from the content-addressed store, hash-verified

4468
4469
4470def test_coerce():
4471 df = pd.DataFrame(np.arange(100).reshape((10, 10)))
4472 ddf = dd.from_pandas(df, npartitions=2)
4473 funcs = (int, float, complex)
4474 for d, t in product(funcs, (ddf, ddf[0])):
4475 pytest.raises(TypeError, lambda t=t, d=d: t(d))
4476
4477
4478def test_bool():

Callers

nothing calls this directly

Calls 2

reshapeMethod · 0.80
arangeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…