/// <summary> /// Intersect with another DataFrame. /// This is equivalent to `INTERSECT` in SQL. /// Reference to https://github.com/apache/spark/blob/branch-1.4/python/pyspark/sql/dataframe.py, intersect(self, other) /// </summary> /// <param name="otherDataFrame">DataFrame to intersect with.</param> /// <returns>Intersected DataFrame.</returns> public DataFrame Intersect(DataFrame otherDataFrame) { return (new DataFrame(dataFrameProxy.Intersect(otherDataFrame.dataFrameProxy), sparkContext)); }