Share via


DataFrame.Where Method

Definition

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

Applies to