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

Function chunk

dask/dataframe/tests/test_dataframe.py:2626–2627  ·  view source on GitHub ↗
(x, constant=0)

Source from the content-addressed store, hash-verified

2624 ddf = dd.from_pandas(df, npartitions=15)
2625
2626 def chunk(x, constant=0):
2627 return x.sum() + constant
2628
2629 def combine(x, constant=0):
2630 return x.sum() + constant + 1

Callers

nothing calls this directly

Calls 1

sumMethod · 0.45

Tested by

no test coverage detected