delete rows in a table that are present in another table pandas

Solutions on MaxInterview for delete rows in a table that are present in another table pandas by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "delete rows in a table that are present in another table pandas"
Kaidence
13 Jun 2018
1print (pd.merge(a,b, indicator=True, how='outer')
2         .query('_merge=="left_only"')
3         .drop('_merge', axis=1))
4   0   1
50  1  10
62  3  30
7