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

Function test_series_explode

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

Source from the content-addressed store, hash-verified

4815
4816@pytest.mark.skip_with_pyarrow_strings # has to be array to explode
4817def test_series_explode():
4818 s = pd.Series([[1, 2, 3], "foo", [3, 4]])
4819 exploded_s = s.explode()
4820 ds = dd.from_pandas(s, npartitions=2)
4821 exploded_ds = ds.explode()
4822 assert_eq(exploded_ds, exploded_s)
4823 assert ds.divisions == exploded_ds.divisions
4824
4825
4826def test_pop():

Callers

nothing calls this directly

Calls 2

explodeMethod · 0.95
assert_eqFunction · 0.90

Tested by

no test coverage detected