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

Function test_attrs_dataframe

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

Source from the content-addressed store, hash-verified

4872
4873@pytest.mark.skipif(reason="not important now")
4874def test_attrs_dataframe():
4875 df = pd.DataFrame({"A": [1, 2], "B": [3, 4], "C": [5, 6]})
4876 df.attrs = {"date": "2020-10-16"}
4877 ddf = dd.from_pandas(df, 2)
4878
4879 assert df.attrs == ddf.attrs
4880 assert df.abs().attrs == ddf.abs().attrs
4881
4882
4883@pytest.mark.skipif(reason="not important now")

Callers

nothing calls this directly

Calls 1

absMethod · 0.45

Tested by

no test coverage detected