Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ test_depth
Function
test_depth
dask/dataframe/dask_expr/tests/test_collection.py:1600–1603 ·
view source on GitHub ↗
(df)
Source
from the content-addressed store, hash-verified
1598
1599
1600
def
test_depth(df):
1601
assert df._depth() == 1
1602
assert (df + 1)._depth() == 2
1603
assert ((df.x + 1) + df.y)._depth() == 4
1604
1605
1606
def
test_partitions_nested(df):
Callers
nothing calls this directly
Calls
1
_depth
Method · 0.80
Tested by
no test coverage detected