pyspark.sql.Window.partitionBy

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

Creates a WindowSpec with the partitioning defined.

New in version 1.4.