title: Remove multiple items from a numy.narray without numpy.delete
body: <p>I am using a large nump.narray (11.000x3180) to develop an active learning algorithm (Text mining). In this algorithm, I have to delete each itarecion 16 samples (row vectors) in my dataset, and then integrate them into training set (it grows at 16 samples per iteration). After performing this process for 60 iterations (approximately), the algorithm is initialized again and again the same process from the beginning for 100 runs </p>
  
  <p>To delete the set of 16 elements in my data set, I use the method 
  <code>numpy.delete (dataset [ListifoIndex], axis = 0)</code>, where <code>[ListifoIndex]</code> corresponds to the indices of the selected items to remove. </p>
  
  <p>  This method works for the first run (1 of 100), but then initialize the algorithm again, I have the following error: </p>
  
  <pre><code>new = empty(newshape, arr.dtype, arr.flags.fnc)
  MemoryError
  </code></pre>
  
  <p>Apparently the <code>numpy.delete</code> metod creates a copy of my database for each of the indices (16x1.2GB), which exceeds the amount of memory that I have on my computer.</p>
  
  <p>the question is: how I can remove items from a numpy.narray not get to use a lot of memory and without excessive execution times? </p>
  
  <p>PD1: I've done the reverse process, where I add the elements that are not in the index list to remove, but the process is very slow. 
  PD2: Sometimes the error occurs before initializing the algorithm (before the iteration number 60)</p>