title: Vectorized implementation of numpy alternative insert
body: <p>I want to insert zeros in a numpy array but in a different way that the <code>numpy.insert</code> function works. The <code>numpy.insert</code> function inserts every element before the position of the given index without caring about the other elements included in the same insertion. That is, the indexs given to the function refer to positions before the insertion. I would like a function that considers the indices after the insertion. Let me give an example:</p>
  
  <p>If the input array is <code>array(1, 2, 3, 4)</code> and the indices are <code>[2, 5]</code>, the output array should be <code>array(1, 2, 0, 3, 4, 0)</code>. </p>
  
  <p>A non-vectorized way to do it would be:</p>
  
  <pre><code>for index in indices:
      input_array = np.insert(input_array, index, 0)
  </code></pre>
  
  <p>I am looking for a vectorized way to do this, but I cannot find it.</p>