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:167–168 ·
view source on GitHub ↗
(df)
Source
from the content-addressed store, hash-verified
165
assert
"b"
in dir(ddf.groupby(
"a"
))
166
167
def
func(df):
168
return
df.assign(b=df.b - df.b.mean())
169
170
expected = df.groupby(
"a"
).apply(func, **INCLUDE_GROUPS)
171
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