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

Function test_isin_strings

dask/dataframe/dask_expr/tests/test_collection.py:2544–2547  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2542
2543
2544def test_isin_strings():
2545 pdf = pd.DataFrame({"foo": ["1", "2", "3"]})
2546 df = from_pandas(pdf)
2547 assert_eq(df.foo.isin(["1", "2"]), pdf.foo.isin(["1", "2"]))
2548
2549
2550def test_predicate_pushdown_ndim_change(df, pdf):

Callers

nothing calls this directly

Calls 3

from_pandasFunction · 0.90
assert_eqFunction · 0.90
isinMethod · 0.80

Tested by

no test coverage detected