title: Remove rows from a couple of dataframes with equal values
body: <p>I have two data frames that I obtained from a couple of csv files. For example:</p>
  <pre><code>df1
      data1   data2   data3
  0   cow     cat     53
  1   girl    boy     12  
  2   monkey  island  30
  3   lucas   arts    14
  
  df2
      data1   data2   data3
  0   girl    boy     50
  1   cover   disc    45  
  2   girl    boy     47
  3   pen     pencil  15
  4   book    note    30
  5   lucas   arts    15
  
  
  df2
      data1   data2   data3
  0   cover   disc    45
  1   pen     pencil  15
  2   book    note    30
  </code></pre>
  <p>I would like to delete from df2 those rows that have the same values of data1 and data2 from df1, so that at the end I will end up with an updated df2. So far, I have done the following:</p>
  <pre><code>    file1=&quot;fileA.csv&quot;
      file2=&quot;fileB.csv&quot;
      df1=pd.read_csv(file1)
      df2=pd.read_csv(file2)
      cond = df1[['data1','data2']].isin(df2[['data1','data2']])
      df2.drop(df1[cond].index,inplace=True)
      df2.to_csv(&quot;fileBUpdtated.csv&quot;,index=False)
  </code></pre>
  <p>But I am not getting the results that I need, what am I missing?</p>