DataFrame.Where Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Where(Column) |
Filters rows using the given condition. This is an alias for Filter(). |
Where(String) |
Filters rows using the given SQL expression. This is an alias for Filter(). |
Where(Column)
Filters rows using the given condition. This is an alias for Filter().
public Microsoft.Spark.Sql.DataFrame Where (Microsoft.Spark.Sql.Column condition);
member this.Where : Microsoft.Spark.Sql.Column -> Microsoft.Spark.Sql.DataFrame
Public Function Where (condition As Column) As DataFrame
Parameters
- condition
- Column
Condition expression
Returns
DataFrame object
Applies to
Where(String)
Filters rows using the given SQL expression. This is an alias for Filter().
public Microsoft.Spark.Sql.DataFrame Where (string conditionExpr);
member this.Where : string -> Microsoft.Spark.Sql.DataFrame
Public Function Where (conditionExpr As String) As DataFrame
Parameters
- conditionExpr
- String
SQL expression
Returns
DataFrame object