()
| 156 | "only sees its mapper slice, not the full lookup table", |
| 157 | ) |
| 158 | def test_series_map_co_aligned_lookup(): |
| 159 | base = pd.Series([1, 2]) |
| 160 | dbase = dd.from_pandas(base, npartitions=2) |
| 161 | expected = base.map(base) |
| 162 | result = dbase.map(dbase, meta=expected) |
| 163 | assert_eq(result, expected) |
| 164 | |
| 165 | |
| 166 | def assert_series_map_dtype(base: pd.Series | pd.Index, func: pd.Series) -> None: |