title: Filtering Pandas Dataframe using OR statement
body: <p>I have a pandas dataframe and I want to filter the whole df based on the value of two columns in the data frame.  I want to get back all rows and columns where IBRD or IMF != 0.  </p>
  
  <pre><code>alldata_balance = alldata[(alldata[IBRD] !=0) or (alldata[IMF] !=0)]
  </code></pre>
  
  <p>but this gives me a ValueError</p>
  
  <blockquote>
    <p>ValueError: The truth value of a Series is ambiguous. Use a.empty,
    a.bool(),       a.item(), a.any() or a.all().</p>
  </blockquote>
  
  <p>So I know I am not using the or statement correctly, is there a way to do this?</p>