Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ f
Function
f
dask/dataframe/tests/test_rolling.py:480–481 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
478
ddf = dd.from_pandas(df, npartitions=3)
479
480
def
f(x):
481
return
np.sum(x) + 5
482
483
assert_eq(
484
df.rolling(3).apply(f, engine=
"numba"
, raw=True),
Callers
nothing calls this directly
Calls
1
sum
Method · 0.45
Tested by
no test coverage detected