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

Function test_series_explode

dask/dataframe/tests/test_dataframe.py:4842–4848  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4840
4841@pytest.mark.skip_with_pyarrow_strings # has to be array to explode
4842def test_series_explode():
4843 s = pd.Series([[1, 2, 3], "foo", [3, 4]])
4844 exploded_s = s.explode()
4845 ds = dd.from_pandas(s, npartitions=2)
4846 exploded_ds = ds.explode()
4847 assert_eq(exploded_ds, exploded_s)
4848 assert ds.divisions == exploded_ds.divisions
4849
4850
4851def test_pop():

Callers

nothing calls this directly

Calls 2

explodeMethod · 0.95
assert_eqFunction · 0.90

Tested by

no test coverage detected