DataFrame.Intersect(DataFrame) 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.
Returns a new DataFrame
containing rows only in both this DataFrame
and another DataFrame
.
public Microsoft.Spark.Sql.DataFrame Intersect (Microsoft.Spark.Sql.DataFrame other);
member this.Intersect : Microsoft.Spark.Sql.DataFrame -> Microsoft.Spark.Sql.DataFrame
Public Function Intersect (other As DataFrame) As DataFrame
Parameters
- other
- DataFrame
Other DataFrame
Returns
DataFrame object
Remarks
This is equivalent to INTERSECT
in SQL.