title: How do I slice a numpy array to get both the first and last two rows
body: <p>As far as I can see it, it isn't covered in the <a href="http://wiki.scipy.org/Tentative_NumPy_Tutorial#head-864862d3f2bb4c32f04260fac61eb4ef34788c4c" rel="noreferrer">indexing, slicing and iterating</a> scipy tutorial, so let me ask it here:</p>
  
  <p>Say I've</p>
  
  <pre><code>x = np.array([[1,2],[3,4],[5,6],[7,8],[9,0]])
  x: array([[1, 2],
            [3, 4],
            [5, 6],
            [7, 8],
            [9, 0]])
  </code></pre>
  
  <p>How do I slice the array in order get both the first and last rows:</p>
  
  <pre><code>y: array([[1, 2],
            [3, 4],              
            [7, 8],
            [9, 0]])
  </code></pre>