translate_calculate: Translate R function/column names into a pandas agg...

View source: R/translate_engine.R

translate_calculateR Documentation

Translate R function/column names into a pandas agg dictionary

Description

Translates R's the.variables and the.functions into pandas' dictionary-based .agg() syntax.

Usage

translate_calculate(variable_exprs, function_names)

Arguments

variable_exprs

A list of enquosured variable names.

function_names

A character vector of R function names.

Value

A string for the .agg() method (e.g., .agg({'col1': ['mean', 'std']})).


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