title: Removing indexes from a 3D numpy array
body: <p>From an image I need to remove one pixel from each row. So for an image that is <code>50 x 60</code>, I have to remove <code>50</code> pixels from the image. The locations of pixels is already determined and is available as the index list in the form:</p>
  
  <pre><code>[(0, 6), (1,2), (2,9), (3,12), .... , (49,23)]
  </code></pre>
  
  <p>where <code>(0,6)</code> for example could be read as, delete the pixel that occurs at 0th row and 6th column. How could I remove the corresponding pixels from 3-channel (colored) image?</p>
  
  <p>I know the way of deleting from a 2-D array like:</p>
  
  <pre><code>np.delete(gray_image[0], 6)
  np.delete(gray_image[1], 2)
  np.delete(gray_image[2], 9)
  .
  .
  np.delete(gray_image[49], 23)
  </code></pre>
  
  <p>But how can I do this on an image which has 3 channels (3D array)?</p>