Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ test_drop_simplify
Function
test_drop_simplify
dask/dataframe/dask_expr/tests/test_collection.py:2057–2061 ·
view source on GitHub ↗
(df)
Source
from the content-addressed store, hash-verified
2055
2056
2057
def
test_drop_simplify(df):
2058
q = df.drop(columns=[
"x"
])[[
"y"
]]
2059
result = q.simplify()
2060
expected = df[[
"y"
]].simplify()
2061
assert result._name == expected._name
2062
2063
2064
def
test_op_align():
Callers
nothing calls this directly
Calls
2
drop
Method · 0.80
simplify
Method · 0.45
Tested by
no test coverage detected