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

Function test_coerce

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

Source from the content-addressed store, hash-verified

4455
4456
4457def test_coerce():
4458 df = pd.DataFrame(np.arange(100).reshape((10, 10)))
4459 ddf = dd.from_pandas(df, npartitions=2)
4460 funcs = (int, float, complex)
4461 for d, t in product(funcs, (ddf, ddf[0])):
4462 pytest.raises(TypeError, lambda t=t, d=d: t(d))
4463
4464
4465def test_bool():

Callers

nothing calls this directly

Calls 2

reshapeMethod · 0.80
arangeMethod · 0.45

Tested by

no test coverage detected