MCPcopy Create free account
hub / github.com/dask/dask / test_series_map_co_aligned_lookup

Function test_series_map_co_aligned_lookup

dask/dataframe/tests/test_map.py:158–163  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

156 "only sees its mapper slice, not the full lookup table",
157)
158def 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
166def assert_series_map_dtype(base: pd.Series | pd.Index, func: pd.Series) -> None:

Callers

nothing calls this directly

Calls 3

mapMethod · 0.95
assert_eqFunction · 0.90
mapMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…