Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def f(x):
return GroupByAgg.from_result(x.mean(), x)
def _f_grouped(x) -> GroupByAgg:
return GroupByAgg.from_result(x.mean() + 10, x)