title: Pandas: Filtering multiple conditions
body: <p>I'm trying to do boolean indexing with a couple conditions using Pandas.  My original DataFrame is called <code>df</code>.  If I perform the below, I get the expected result:</p>
  
  <pre><code>temp = df[df["bin"] == 3]
  temp = temp[(~temp["Def"])]
  temp = temp[temp["days since"] &gt; 7]
  temp.head()
  </code></pre>
  
  <p>However, if I do this (which I think should be equivalent), I get no rows back:</p>
  
  <pre><code>temp2 = df[df["bin"] == 3]
  temp2 = temp2[~temp2["Def"] &amp; temp2["days since"] &gt; 7]
  temp2.head()
  </code></pre>
  
  <p>Any idea what accounts for the difference? </p>