translate_summarize: Translate named R expressions for .agg()

View source: R/translate_engine.R

translate_summarizeR Documentation

Translate named R expressions for .agg()

Description

Translates R's new = func(old) syntax into pandas' named aggregation syntax ⁠new = ('old', 'func')⁠.

Usage

translate_summarize(...)

Arguments

...

Named R expressions (e.g., avg_price = mean(price)).

Value

A string for the .agg() method.


rPandas documentation built on April 29, 2026, 1:07 a.m.