Ctrl+K
Logo image Logo image

Site Navigation

  • API Reference
  • Examples

Site Navigation

  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
  • PyFlink DataFrame
    • DataFrame
    • DataFrame Creation
    • Input/Output
    • SQL
    • Data Types
    • User Defined Functions
    • Configuration
    • Catalog
    • GPU Support
    • AI / LLM
  • PyFlink Multimodal
  • PyFlink DataStream
  • PyFlink Common

pyflink.dataframe.DataFrame.intersect#

DataFrame.intersect(other: pyflink.dataframe.dataframe.DataFrame) → pyflink.dataframe.dataframe.DataFrame[source]#

Intersect with another DataFrame, removing duplicate rows.

Schema compatibility is checked by column position, not by column name. Each pair of columns must be castable to a common type. The result uses this DataFrame’s column names and the common types.

Note

This operation is only supported in batch mode.

Parameters

other – Right DataFrame.

Returns

A new DataFrame containing distinct rows present in both DataFrames.

previous

pyflink.dataframe.DataFrame.minus_all

next

pyflink.dataframe.DataFrame.intersect_all

Show Source

Created using Sphinx 4.5.0.