Skip to main content

count_if

Function count_if 

Source
pub fn count_if(col: &Column) -> Column
Expand description

Count rows where condition is true (PySpark count_if). Use in groupBy.agg(); column should be boolean (true=1, false=0).