snowflake.snowpark.DataFrame.subtract¶
- DataFrame.subtract(other: DataFrame) DataFrame[source]¶
Returns a new DataFrame that contains all the rows from the current DataFrame except for the rows that also appear in the
otherDataFrame. Duplicate rows are eliminated.Example:
minus()andsubtract()are aliases ofexcept_().- Parameters:
other – The
DataFramethat contains the rows to exclude.