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

Function test_attrs_dataframe

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

Source from the content-addressed store, hash-verified

4897
4898@pytest.mark.skipif(reason="not important now")
4899def test_attrs_dataframe():
4900 df = pd.DataFrame({"A": [1, 2], "B": [3, 4], "C": [5, 6]})
4901 df.attrs = {"date": "2020-10-16"}
4902 ddf = dd.from_pandas(df, 2)
4903
4904 assert df.attrs == ddf.attrs
4905 assert df.abs().attrs == ddf.abs().attrs
4906
4907
4908@pytest.mark.skipif(reason="not important now")

Callers

nothing calls this directly

Calls 1

absMethod · 0.45

Tested by

no test coverage detected