4 ms·
Isn't this the same as an outer join that filters the ones that do not match? In pandas: outer_join = df1.merge(df2, left_on='id_col1', right_on='id_col2', i
by cuchoi 7y ago
Isn't this the same as an outer join that filters the ones that do not match? In pandas:
outer_join = df1.merge(df2, left_on='id_col1', right_on='id_col2', indicator=True, how='outer')
outer_join[outer_join['_merge'] == 'right_only']