DataFrame.Filter 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
Filter(Column) |
Filters rows using the given condition. |
Filter(String) |
Filters rows using the given SQL expression. |
Filter(Column)
Filters rows using the given condition.
public Microsoft.Spark.Sql.DataFrame Filter (Microsoft.Spark.Sql.Column condition);
member this.Filter : Microsoft.Spark.Sql.Column -> Microsoft.Spark.Sql.DataFrame
Public Function Filter (condition As Column) As DataFrame
Parameters
- condition
- Column
Condition expression
Returns
DataFrame object
Applies to
Filter(String)
Filters rows using the given SQL expression.
public Microsoft.Spark.Sql.DataFrame Filter (string conditionExpr);
member this.Filter : string -> Microsoft.Spark.Sql.DataFrame
Public Function Filter (conditionExpr As String) As DataFrame
Parameters
- conditionExpr
- String
SQL expression
Returns
DataFrame object