snowflake.snowpark.DataFrame.intersect¶
- DataFrame.intersect(other: DataFrame) DataFrame[source] (https://github.com/snowflakedb/snowpark-python/blob/release-v1.6.1/src/snowflake/snowpark/dataframe.py#L1852-L1884)¶
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.