pyspark.sql.functions.count

pyspark.sql.functions.count(col: ColumnOrName) → pyspark.sql.column.Column[source]

Aggregate function: returns the number of items in a group.

New in version 1.3.