MCPcopy
hub / github.com/dask/dask / my_sum

Function my_sum

dask/dataframe/tseries/tests/test_resample_expr.py:111–112  ·  view source on GitHub ↗
(vals, foo=None, *, bar=None)

Source from the content-addressed store, hash-verified

109
110def test_resample_agg(df, pdf):
111 def my_sum(vals, foo=None, *, bar=None):
112 return vals.sum()
113
114 result = df.resample("2min").agg(my_sum, "foo", bar="bar")
115 expected = pdf.resample("2min").agg(my_sum, "foo", bar="bar")

Callers

nothing calls this directly

Calls 1

sumMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…