()
| 3410 | |
| 3411 | |
| 3412 | def 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( |
nothing calls this directly
no test coverage detected