title: take all rows by multiple conditions one to another column?
body: <p>I have a xls like below and i have a column name ID with value <code>1,2,3</code> i need to extract the data if <code>Name and Subname </code> columns values are identical and having <code>1,2,3</code> these all should done by pandas</p>
  <pre><code>Name subname ID
   A      B      1
   A      B      2
   A      B      3
   A      C      1
   A      C      2
   F      C      1
   F      C      2
   F      C      3 
  </code></pre>
  <p>expected output</p>
  <pre><code>Name subname 
   A      B      
   F      C
  </code></pre>