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

Function test_explode_simplify

dask/dataframe/dask_expr/tests/test_collection.py:199–205  ·  view source on GitHub ↗
(pdf)

Source from the content-addressed store, hash-verified

197
198@xfail_gpu("https://github.com/rapidsai/cudf/issues/10271")
199def test_explode_simplify(pdf):
200 pdf["z"] = 1
201 df = from_pandas(pdf)
202 q = df.explode(column="x")["y"]
203 result = optimize(q, fuse=False)
204 expected = optimize(df[["x", "y"]], fuse=False).explode(column="x")["y"]
205 assert result._name == expected._name
206
207
208def test_meta_divisions_name():

Callers

nothing calls this directly

Calls 3

from_pandasFunction · 0.90
optimizeFunction · 0.90
explodeMethod · 0.45

Tested by

no test coverage detected