snowflake.snowpark.DataFrame.minus¶
- DataFrame.minus(other: DataFrame) DataFrame[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.21.0/src/snowflake/snowpark/dataframe.py#L2082-L2114)¶
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.