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

Function test_series_explode

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

explodeMethod · 0.95
assert_eqFunction · 0.90

Tested by

no test coverage detected