Window.
partitionBy
Creates a WindowSpec with the partitioning defined.
WindowSpec
previous
pyspark.sql.Window.orderBy
next
pyspark.sql.Window.rangeBetween