You are viewing documentation about an older version (1.16.0). View latest version

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.16.0/src/snowflake/snowpark/window.py#L98-L112)

Returns a WindowSpec object with order by clause.

Parameters:

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

Language: English