title: Removing every nth element in an array
body: <p>How do I remove every nth element in an array?</p>
  
  <pre><code>import numpy as np
  
  x = np.array([0,10,27,35,44,32,56,35,87,22,47,17])
  n = 3  # remove every 3rd element
  </code></pre>
  
  <p>...something like the opposite of <code>x[0::n]</code>? I've tried this, but of course it doesn't work:</p>
  
  <pre><code>for i in np.arange(0,len(x),n):
      x = np.delete(x,i)
  </code></pre>