Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ chunk
Function
chunk
dask/dataframe/dask_expr/tests/test_reductions.py:479–480 ·
view source on GitHub ↗
(x, constant=0)
Source
from the content-addressed store, hash-verified
477
ddf = from_pandas(df, npartitions=15)
478
479
def
chunk(x, constant=0):
480
return
x.sum() + constant
481
482
def
combine(x, constant=0):
483
return
x.sum() + constant + 1
Callers
nothing calls this directly
Calls
1
sum
Method · 0.45
Tested by
no test coverage detected