In Pandas DataFrame, I can use DataFrame.isin() function to match the column values against another column.
DataFrame.isin()
For example: suppose we have one DataFrame:
This kind of operation is called left semi join in spark:
df_B.join(df_A, ['col1'], 'leftsemi')