You are viewing documentation about an older version (1.16.0). View latest version

snowflake.snowpark.RelationalGroupedDataFrame.function

RelationalGroupedDataFrame.function(agg_name: str) Callable[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.16.0/src/snowflake/snowpark/relational_grouped_dataframe.py#L503-L508)

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().

Language: English