MCPcopy Index your code
hub / github.com/dask/dask / test_dataframe_iterrows

Function test_dataframe_iterrows

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

Source from the content-addressed store, hash-verified

3390
3391
3392def test_dataframe_iterrows():
3393 df = pd.DataFrame({"x": [1, 2, 3, 4], "y": [10, 20, 30, 40]})
3394 ddf = dd.from_pandas(df, npartitions=2)
3395
3396 for a, b in zip(df.iterrows(), ddf.iterrows()):
3397 tm.assert_series_equal(a[1], b[1])
3398
3399
3400def test_dataframe_itertuples():

Callers

nothing calls this directly

Calls 1

iterrowsMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…