intersection of dataframes based on column

Solutions on MaxInterview for intersection of dataframes based on column by the best coders in the world

showing results for - "intersection of dataframes based on column"
Mirko
27 Mar 2016
1s1 = pd.merge(dfA, dfB, how='inner', on=['S', 'T'])
2s1.dropna(inplace=True)