snowflake.snowpark.Window¶
- class snowflake.snowpark.Window[source]¶
Bases:
objectContains functions to form
WindowSpec. See Snowflake Window functions for reference.Examples:
Methods
orderBy(*cols)Returns a
WindowSpecobject with order by clause.order_by(*cols)Returns a
WindowSpecobject with order by clause.partitionBy(*cols)Returns a
WindowSpecobject with partition by clause.partition_by(*cols)Returns a
WindowSpecobject with partition by clause.rangeBetween(start, end)Returns a
WindowSpecobject with the range frame clause.range_between(start, end)Returns a
WindowSpecobject with the range frame clause.rowsBetween(start, end)Returns a
WindowSpecobject with the row frame clause.rows_between(start, end)Returns a
WindowSpecobject with the row frame clause.Attributes
Returns a value representing current row.
Returns a value representing unbounded following.
Returns a value representing unbounded preceding.