title: How to delete multiple rows of NumPy array?
body: <p>How can I delete multiple rows of NumPy array? For example, I want to delete the first five rows of <code>x</code>. I'm trying the following code:</p>
  
  <pre><code>import numpy as np
  x = np.random.rand(10, 5)
  np.delete(x, (0:5), axis=0)
  </code></pre>
  
  <p>but it doesn't work:</p>
  
  <pre class="lang-none prettyprint-override"><code>np.delete(x, (0:5), axis=0)
                 ^
  SyntaxError: invalid syntax
  </code></pre>