title: Creating an array without certain ranges
body: <p>In python I have <code>numpy.ndarray</code> called <code>a</code> and a list of indices called <code>b</code>. I want to get a list of all the values of <code>a</code> which are not in -10..10 places around the indices of <code>b</code>.
  This is my current code, which takes a lot of time to run due to allocations of data (<code>a</code> is very big):</p>
  
  <pre><code>    aa=a
      # Remove all ranges backwards
      for bb in b[::-1]:
          aa=np.delete(aa, range(bb-10,bb+10))
  </code></pre>
  
  <p>Is there a way to do it more efficiently? Preferably with few memory allocations.</p>