DataFrame.where DataFrame.where( condition: pyspark_dubber.sql.expr.Expr | str, ) PySpark API Reference Incompatibility Note Using a string as a SQL expressions is not supported yet.