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

Function test_depth

dask/dataframe/dask_expr/tests/test_collection.py:1654–1657  ·  view source on GitHub ↗
(df)

Source from the content-addressed store, hash-verified

1652
1653
1654def test_depth(df):
1655 assert df._depth() == 1
1656 assert (df + 1)._depth() == 2
1657 assert ((df.x + 1) + df.y)._depth() == 4
1658
1659
1660def test_partitions_nested(df):

Callers

nothing calls this directly

Calls 1

_depthMethod · 0.80

Tested by

no test coverage detected