Getting Started
User Guide
API Reference
Development
Migration Guide
Spark SQL
Core Classes
Spark Session
Configuration
Input/Output
DataFrame
Column
Data Types
Row
Functions
Window
Grouping
Catalog
Observation
Avro
Pandas API on Spark
Structured Streaming
MLlib (DataFrame-based)
Spark Streaming
MLlib (RDD-based)
Spark Core
Resource Management
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.
pyspark.sql.Window.currentRow
pyspark.sql.Window.partitionBy