snowflake.snowpark.DataFrame.cube¶
- DataFrame.cube(*cols: Union[Column, str, Iterable[Union[Column, str]]]) RelationalGroupedDataFrame [source]¶
Performs a SQL GROUP BY CUBE. on the DataFrame.
- Parameters:
cols – The columns to group by cube.
Performs a SQL GROUP BY CUBE. on the DataFrame.
cols – The columns to group by cube.