pyspark.sql.Window.orderBy

static Window.orderBy(*cols: Union[ColumnOrName, List[ColumnOrName_]]) → WindowSpec[source]

Creates a WindowSpec with the ordering defined.

New in version 1.4.