pyspark.sql.Window.partitionBy

static Window.partitionBy(*cols)[source]

Creates a WindowSpec with the partitioning defined.

New in version 1.4.