语言

DataFrame.Intersect(DataFrame) 方法

定义

仅返回此DataFrame行和另一行DataFrame中的新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

参数

other
DataFrame

其他数据帧

返回

DataFrame 对象

注解

这相当于 INTERSECT 在 SQL 中。

适用于