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

Function test_explode

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

Source from the content-addressed store, hash-verified

188
189@xfail_gpu("https://github.com/rapidsai/cudf/issues/10271")
190def test_explode():
191 with dask.config.set({"dataframe.convert-string": False}):
192 pdf = pd.DataFrame({"a": [[1, 2], [3, 4]]})
193 df = from_pandas(pdf)
194 assert_eq(pdf.explode(column="a"), df.explode(column="a"))
195 assert_eq(pdf.a.explode(), df.a.explode())
196
197
198@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