Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
where is an alias for filter.
Syntax
where(condition: Union[Column, str])
Parameters
| Parameter | Type | Description |
|---|---|---|
condition |
Column or str | A Column of BooleanType or a string of SQL expressions. |
Returns
DataFrame: A new DataFrame with rows that satisfy the condition.