title: Python Pandas Filter By Condition
body: <p>Let's say that I have a Pandas dataframe with seven columns set up as following:</p>
  
  <pre><code>   A  B  C  D  E  F  G
  0  1  2  3  4  5  6  7
  1  8  9  0  1  2  3  4`
  </code></pre>
  
  <p>Now I would like to create a new dataframe in which all columns from <code>A</code> to <code>E</code> to be filtered from range <code>x</code> to <code>y</code> (inclusive of <code>x</code> and <code>y</code>) and column <code>F</code> to be filtered between value <code>x</code> and <code>z</code> (inclusive of <code>x</code> and <code>z</code>).</p>
  
  <p>What would be the best approach to this issue?</p>
  
  <p>Much Thanks in advance. </p>