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

Function test_dataframe_itertuples

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

Source from the content-addressed store, hash-verified

3389
3390
3391def test_dataframe_itertuples():
3392 df = pd.DataFrame({"x": [1, 2, 3, 4], "y": [10, 20, 30, 40]})
3393 ddf = dd.from_pandas(df, npartitions=2)
3394
3395 for a, b in zip(df.itertuples(), ddf.itertuples()):
3396 assert a == b
3397
3398
3399@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

itertuplesMethod · 0.95

Tested by

no test coverage detected