Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pandas-dev/pandas
/ time_transform_lambda_max
Method
time_transform_lambda_max
asv_bench/benchmarks/groupby.py:956–957 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
954
self.df4[
"jim"
] = self.df4[
"joe"
]
955
956
def
time_transform_lambda_max(self):
957
self.df.groupby(level=
"lev1"
).transform(
lambda
x: max(x))
958
959
def
time_transform_str_max(self):
960
self.df.groupby(level=
"lev1"
).transform(
"max"
)
Callers
nothing calls this directly
Calls
3
max
Function · 0.85
transform
Method · 0.45
groupby
Method · 0.45
Tested by
no test coverage detected