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