title: Pandas: select rows if a specific column satisfies a certain condition
body: <p>Say I have this dataframe <code>df</code>:</p>
  
  <pre><code>    A   B   C
  0   1   1   2
  1   2   2   2
  2   1   3   1
  3   4   5   2
  </code></pre>
  
  <p>Say you want to select all rows which column <code>C</code> is <code>&gt;1</code>. If I do this:</p>
  
  <pre><code>newdf=df['C']&gt;1
  </code></pre>
  
  <p>I only obtain <code>True</code> or <code>False</code> in the resulting df. Instead, in the example given I want this result:</p>
  
  <pre><code>    A   B   C
  0   1   1   2
  1   2   2   2
  3   4   5   2
  </code></pre>
  
  <p>What would you do? Do you suggest using <code>iloc</code>?</p>