snowflake.snowpark.Window.orderBy

static Window.orderBy(*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#L123-L139)

Returns a WindowSpec object with order by clause.

Parameters:

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

Language: English