snowflake.snowpark.DataFrame.cube¶
- DataFrame.cube(*cols: Column | str | Iterable[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.