snowflake.snowpark.DataFrame.intersect¶
- DataFrame.intersect(other: DataFrame) DataFrame[source]¶
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.