PySpark referenceClassesDataFramewhereOn this pagewhere where is an alias for filter. Syntax where(condition: Union[Column, str]) Parameters ParameterTypeDescriptionconditionColumn or strA Column of BooleanType or a string of SQL expressions. Returns DataFrame: A new DataFrame with rows that satisfy the condition.