def _f_gser(x): # note, no return annotation, so translator will raise an error return GroupByAgg.from_result(x.mean(), x)
def f(x) -> Any: return GroupByAgg.from_result(x.mean() + 10, x)
def f(x): return GroupByAgg.from_result(x.mean(), x)
def _f_grouped(x) -> GroupByAgg: return GroupByAgg.from_result(x.mean() + 10, x)
def _n_grouped(x: GroupBy) -> GroupByAgg: return GroupByAgg.from_result(x.size(), x)