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