Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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

print (pd.merge(a,b, indicator=True, how='outer')
         .query('_merge=="left_only"')
         .drop('_merge', axis=1))
   0   1
0  1  10
2  3  30
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #delete #rows #table #present #table #pandas
ADD COMMENT
Topic
Name
6+9 =