snowflake.snowpark.RelationalGroupedDataFrame.function

RelationalGroupedDataFrame.function(agg_name: str, **kwargs) Callable[source]

Computes the builtin aggregate agg_name over the specified columns. Use this function to invoke any aggregates not explicitly listed in this class. See examples in DataFrame.group_by().

Parameters:

agg_name – The name of the aggregate function.