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

Function test_iter

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

Source from the content-addressed store, hash-verified

4848
4849
4850def test_iter():
4851 df = pd.DataFrame({"A": [1, 2, 3, 4], "B": [1, 2, 3, 4]})
4852 ddf = dd.from_pandas(df, 2)
4853
4854 assert list(df) == list(ddf)
4855 for col, expected in zip(ddf, ["A", "B"]):
4856 assert col == expected
4857
4858
4859def test_dataframe_groupby_cumsum_agg_empty_partitions():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected