How do we filter rows using an intuitive SQL predicate string with the where() alias?
where() is an exact functional alias to filter(), allowing SQL expression strings for clarity.
Enabling SQL-fluent engineers to write concise filtering rules without verbose Column syntax.
df.where("salary >= 75000").show()Practice typing production-grade PySpark code for SQL-Style Filtering with where().