title: Matching on basis of a pair of columns in pandas
body: <p>I have a data frame df1 with multiple columns. I have df2 with same set of columns. I want to get the records of df1 which aren't present in df2. I am able to perform this task as below:</p>
  
  <pre><code>df1[~df1['ID'].isin(df2['ID'])]
  </code></pre>
  
  <p>Now I want to the same operation, but on the combination of NAME and ID.  This means if the NAME and ID together as a pair from df1 also exists as the same pair in df2, then that whole record should not be part of my result. </p>
  
  <p>How do I accomplish this task using pandas?</p>