snowflake.snowpark.DataFrame.where¶
- DataFrame.where(expr: ColumnOrSqlExpr) DataFrame[source] (https://github.com/snowflakedb/snowpark-python/blob/release-v1.3.0/src/snowflake/snowpark/dataframe.py#L1103-L1135)¶
Filters rows based on the specified conditional expression (similar to WHERE in SQL).
Examples:
- Parameters:
expr – a
Columnexpression or SQL text.