pandas isin another dataframe column

Solutions on MaxInterview for pandas isin another dataframe column by the best coders in the world

showing results for - "pandas isin another dataframe column"
Riccardo
28 Sep 2020
1df1.merge(df2, left_on='B', right_on='0')[df1.columns]
2
3     A   B  C  D
40  102  21  2  3
51  104  40  2  3
6