MCPcopy
hub / github.com/dask/dask / test_explode_simplify

Function test_explode_simplify

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

Source from the content-addressed store, hash-verified

202
203@xfail_gpu("https://github.com/rapidsai/cudf/issues/10271")
204def test_explode_simplify(pdf):
205 pdf["z"] = 1
206 df = from_pandas(pdf)
207 q = df.explode(column="x")["y"]
208 result = optimize(q, fuse=False)
209 expected = optimize(df[["x", "y"]], fuse=False).explode(column="x")["y"]
210 assert result._name == expected._name
211
212
213def 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

Used in the wild real call sites across dependent graphs

searching dependent graphs…