MCPcopy
hub / github.com/dask/dask / test_series_explode

Function test_series_explode

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

Source from the content-addressed store, hash-verified

4801
4802@pytest.mark.skip_with_pyarrow_strings # has to be array to explode
4803def test_series_explode():
4804 s = pd.Series([[1, 2, 3], "foo", [3, 4]])
4805 exploded_s = s.explode()
4806 ds = dd.from_pandas(s, npartitions=2)
4807 exploded_ds = ds.explode()
4808 assert_eq(exploded_ds, exploded_s)
4809 assert ds.divisions == exploded_ds.divisions
4810
4811
4812def test_pop():

Callers

nothing calls this directly

Calls 2

explodeMethod · 0.95
assert_eqFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…