Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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']


Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: