title: Filter pandas dataframe from tuples
body: <pre><code>AB_col = [(0,230), (10,215), (15, 200), (20, 185), (40, 177), 
                  (0,237), (10,222), (15, 207), (20, 192), (40, 184)]
  
  sales = [{'account': 'Jones LLC', 'A': 0, 'B': 230, 'C': 140},
           {'account': 'Alpha Co',  'A': 20, 'B': 192, 'C': 215},
           {'account': 'Blue Inc',  'A': 50,  'B': 90,  'C': 95 }]
  df = pd.DataFrame(sales)
  print df
  </code></pre>
  
  <blockquote>
    <blockquote>
      <p><strong>result</strong><br>
      <a href="https://i.stack.imgur.com/5tFuv.png" rel="noreferrer"><img src="https://i.stack.imgur.com/5tFuv.png" alt="df"></a></p>
    </blockquote>
  </blockquote>
  
  <p>Now the above dataframe has to be filtered by the AB_col list of tuples. I tried something like </p>
  
  <pre><code>df[df["A","B"].zip.isin(AB_col)]
  </code></pre>
  
  <p>But it did not work, How to filter the above dataframe to the one like below</p>
  
  <p><a href="https://i.stack.imgur.com/jXa7a.png" rel="noreferrer"><img src="https://i.stack.imgur.com/jXa7a.png" alt="dfexpected"></a></p>