Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ func
Function
func
dask/dataframe/tests/test_groupby.py:146–147 ·
view source on GitHub ↗
(df)
Source
from the content-addressed store, hash-verified
144
assert
"b"
in dir(ddf.groupby(
"a"
))
145
146
def
func(df):
147
return
df.assign(b=df.b - df.b.mean())
148
149
expected = df.groupby(
"a"
).apply(func, **INCLUDE_GROUPS)
150
Callers
5
test_apply_or_transform_shuffle
Function · 0.70
test_apply_or_transform_shuffle_multilevel
Function · 0.70
test_cumulative_empty_partitions
Function · 0.70
test_map_partition_array
Function · 0.70
test_series_agg_with_min_count
Function · 0.70
Calls
2
assign
Method · 0.80
mean
Method · 0.45
Tested by
no test coverage detected