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

Function test_mod_eq

dask/dataframe/tests/test_dataframe.py:4670–4676  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4668
4669
4670def test_mod_eq():
4671 df = pd.DataFrame({"a": [1, 2, 3]})
4672 ddf = dd.from_pandas(df, npartitions=1)
4673 assert_eq(df, ddf)
4674 assert_eq(df.a, ddf.a)
4675 assert_eq(df.a + 2, ddf.a + 2)
4676 assert_eq(df.a + 2 == 0, ddf.a + 2 == 0)
4677
4678
4679def test_setitem():

Callers

nothing calls this directly

Calls 1

assert_eqFunction · 0.90

Tested by

no test coverage detected