pyspark.sql.WindowSpec.partitionBy# WindowSpec.partitionBy(*cols)[source]# Defines the partitioning columns in a WindowSpec. New in version 1.4.0. Parameters colsstr, Column or listnames of columns or expressions