snowflake.snowpark.DataFrame.intersect¶
- DataFrame.intersect(other: DataFrame) DataFrame[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.26.0/snowpark-python/src/snowflake/snowpark/dataframe.py#L2740-L2788)¶
Returns a new DataFrame that contains the intersection of rows from the current DataFrame and another DataFrame (
other). Duplicate rows are eliminated.Example:
- Parameters:
other – the other
DataFramethat contains the rows to use for the intersection.