snowflake.snowpark.RelationalGroupedDataFrame.function¶
- RelationalGroupedDataFrame.function(agg_name: str, **kwargs) Callable[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.41.0/src/snowflake/snowpark/relational_grouped_dataframe.py#L782-L797)¶
Computes the builtin aggregate
agg_nameover the specified columns. Use this function to invoke any aggregates not explicitly listed in this class. See examples inDataFrame.group_by().- Parameters:
agg_name – The name of the aggregate function.