Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ test_dir
Function
test_dir
dask/dataframe/dask_expr/tests/test_collection.py:1798–1802 ·
view source on GitHub ↗
(df)
Source
from the content-addressed store, hash-verified
1796
1797
1798
def
test_dir(df):
1799
assert all(c in dir(df)
for
c in df.columns)
1800
assert
"sum"
in dir(df)
1801
assert
"sum"
in dir(df.x)
1802
assert
"sum"
in dir(df.index)
1803
1804
1805
@pytest.mark.parametrize(
Callers
nothing calls this directly
Calls
1
all
Function · 0.85
Tested by
no test coverage detected