snowflake.snowpark.Window.partition_by

static Window.partition_by(*cols: Union[Column, str, Iterable[Union[Column, str]]]) WindowSpec[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.26.0/snowpark-python/src/snowflake/snowpark/window.py#L107-L121)

Returns a WindowSpec object with partition by clause.

Parameters:

cols – A column, as str, Column or a list of those.

Language: English