Select rows if columns meet condition
<p>I have a <code>DataFrame</code> with 75 columns. </p>

<p>How can I select rows based on a condition in a specific array of columns? If I want to do this on all columns I can just use</p>

<pre><code>df[(df.values &gt; 1.5).any(1)]
</code></pre>

<p>But let's say I just want to do this on columns 3:45.</p>