title: Index numpy array by multiple boolean masks
body: <p>I have an array x and a list of filters (array of booleans same length as x):</p>
  
  <pre><code>x = np.random.rand(10)
  filt1 = x &gt; .2
  filt2 = x &lt; .5
  filt3 = x % 2 &gt; .02
  filters_list = [filt1, filt2, filt3]
  </code></pre>
  
  <p>I want to create a filter that is the logical AND of all filters in <code>filters_list</code> so the output should be </p>
  
  <pre><code>output = x[filt1 &amp; filt2 &amp; filt3]
  </code></pre>
  
  <p>How do I create the filter <code>filt1 &amp; filt2 &amp; filt3</code> from <code>filters_list</code> assuming <code>len(filters_list)</code> is arbitrary? </p>