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

Function test_gh580

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

Source from the content-addressed store, hash-verified

2733
2734
2735def test_gh580():
2736 df = pd.DataFrame({"x": np.arange(10, dtype=float)})
2737 ddf = dd.from_pandas(df, 2)
2738 assert_eq(np.cos(df["x"]), np.cos(ddf["x"]))
2739 assert_eq(np.cos(df["x"]), np.cos(ddf["x"]))
2740
2741
2742def test_rename_dict():

Callers

nothing calls this directly

Calls 2

assert_eqFunction · 0.90
arangeMethod · 0.45

Tested by

no test coverage detected