snowflake.snowpark.DataFrame.rollup

DataFrame.rollup(*cols: Union[Column, str, Iterable[Union[Column, str]]]) RelationalGroupedDataFrame[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.16.0/src/snowflake/snowpark/dataframe.py#L1444-L1461)

Performs a SQL GROUP BY ROLLUP. on the DataFrame.

Parameters:

cols – The columns to group by rollup.

语言: 中文