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

Function test_explode

dask/dataframe/dask_expr/tests/test_collection.py:197–202  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

195
196@xfail_gpu("https://github.com/rapidsai/cudf/issues/10271")
197def test_explode():
198 with dask.config.set({"dataframe.convert-string": False}):
199 pdf = pd.DataFrame({"a": [[1, 2], [3, 4]]})
200 df = from_pandas(pdf)
201 assert_eq(pdf.explode(column="a"), df.explode(column="a"))
202 assert_eq(pdf.a.explode(), df.a.explode())
203
204
205@xfail_gpu("https://github.com/rapidsai/cudf/issues/10271")

Callers

nothing calls this directly

Calls 5

explodeMethod · 0.95
from_pandasFunction · 0.90
assert_eqFunction · 0.90
setMethod · 0.80
explodeMethod · 0.45

Tested by

no test coverage detected