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

Function test_dataframe_itertuples

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

Source from the content-addressed store, hash-verified

3410
3411
3412def test_dataframe_itertuples():
3413 df = pd.DataFrame({"x": [1, 2, 3, 4], "y": [10, 20, 30, 40]})
3414 ddf = dd.from_pandas(df, npartitions=2)
3415
3416 for a, b in zip(df.itertuples(), ddf.itertuples()):
3417 assert a == b
3418
3419
3420@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

itertuplesMethod · 0.95

Tested by

no test coverage detected