snowflake.snowpark.WindowSpec.partition_by¶ WindowSpec.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#L327-L365)¶ Returns a new WindowSpec object with the new partition by clause. See also Window.partition_by()