/// <summary> /// Returns a new DataFrame containing rows in this frame but not in another frame. /// This is equivalent to `EXCEPT` in SQL. /// Reference to https://github.com/apache/spark/blob/branch-1.4/python/pyspark/sql/dataframe.py, subtract(self, other) /// </summary> /// <param name="otherDataFrame">DataFrame to subtract from this frame.</param> /// <returns>A new DataFrame containing rows in this frame but not in another frame.</returns> public DataFrame Subtract(DataFrame otherDataFrame) { return (new DataFrame(dataFrameProxy.Subtract(otherDataFrame.dataFrameProxy), sparkContext)); }