snowflake.snowpark.DataFrame.rollup¶
- DataFrame.rollup(*cols: ColumnOrName | Iterable[ColumnOrName]) RelationalGroupedDataFrame [source]¶
Performs a SQL GROUP BY ROLLUP. on the DataFrame.
- Parameters:
cols – The columns to group by rollup.
Performs a SQL GROUP BY ROLLUP. on the DataFrame.
cols – The columns to group by rollup.