snowflake.snowpark.DataFrame.rollup¶
- DataFrame.rollup(*cols: Union[Column, str, Iterable[Union[Column, str]]]) RelationalGroupedDataFrame [source] (https://github.com/snowflakedb/snowpark-python/blob/v1.26.0/snowpark-python/src/snowflake/snowpark/dataframe.py#L1988-L2019)¶
Performs a SQL GROUP BY ROLLUP. on the DataFrame.
- Parameters:
cols – The columns to group by rollup.