(reduction)
| 4236 | ], |
| 4237 | ) |
| 4238 | def test_dataframe_reductions_arithmetic(reduction): |
| 4239 | df = pd.DataFrame({"x": [1, 2, 3, 4, 5], "y": [1.1, 2.2, 3.3, 4.4, 5.5]}) |
| 4240 | ddf = dd.from_pandas(df, npartitions=3) |
| 4241 | |
| 4242 | assert_eq( |
| 4243 | ddf - (getattr(ddf, reduction)() + 1), df - (getattr(df, reduction)() + 1) |
| 4244 | ) |
| 4245 | |
| 4246 | |
| 4247 | def test_median(): |
nothing calls this directly
no test coverage detected