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

Function test_depth

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

Source from the content-addressed store, hash-verified

1610
1611
1612def test_depth(df):
1613 assert df._depth() == 1
1614 assert (df + 1)._depth() == 2
1615 assert ((df.x + 1) + df.y)._depth() == 4
1616
1617
1618def test_partitions_nested(df):

Callers

nothing calls this directly

Calls 1

_depthMethod · 0.80

Tested by

no test coverage detected