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

Function test_get_dummies

dask/dataframe/dask_expr/tests/test_dummies.py:24–30  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

22 ],
23)
24def test_get_dummies(data):
25 exp = pd.get_dummies(data)
26
27 ddata = from_pandas(data, 2)
28 res = get_dummies(ddata)
29 assert_eq(res, exp)
30 pandas.testing.assert_index_equal(res.columns, exp.columns)

Callers

nothing calls this directly

Calls 3

from_pandasFunction · 0.90
get_dummiesFunction · 0.90
assert_eqFunction · 0.90

Tested by

no test coverage detected