In Spark, which of the following is the operator that takes the intersection of the DataFrame?

In Spark, which of the following is the operator that takes the intersection of the DataFrame?
A . filter (condifionExpr: String): DataFrame
B . join (right: DataFrame, join Exprs: Column): DataFrame
C . intersect (other: Data Fra me): Data Fra me
D . dropDuplicates():DataFrame

Answer: C

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments