()
| 4745 | |
| 4746 | |
| 4747 | def test_index_divisions(): |
| 4748 | df = pd.DataFrame({"x": [1, 2, 3, 4, 5]}) |
| 4749 | ddf = dd.from_pandas(df, npartitions=2) |
| 4750 | |
| 4751 | assert_eq(ddf.index + 1, df.index + 1) |
| 4752 | assert_eq(10 * ddf.index, 10 * df.index) |
| 4753 | assert_eq(-ddf.index, -df.index) |
| 4754 | |
| 4755 | |
| 4756 | def test_replace(): |
nothing calls this directly
no test coverage detected