title: Unable to slice an array correctly
body: <p>I am having the following array</p>
  <pre><code>import numpy as np
  T = np.array(([1,-1,0,0,0,0],
                [3,0,5,0,0,0],
                [0,-1,0,9,0,0],
                [0,0,0,0,-2,1],
                [3,1,0,0,2,0],
                [1,-2,1,0,2,2]))
  </code></pre>
  <p>I want to remove the first column and the last row of the array. So I should get:</p>
  <pre><code>T = [[-1 0 0 0 0],
      [0 5 0 0 0],
      [-1 0 9 0 0],
      [0 0 0 -2 1],
      [1 0 0 2 0]]
  </code></pre>
  <p>I wrote following line of code:</p>
  <pre><code>T = T[:len(T)-1][1:len(T[0])]
  </code></pre>
  <p>But I don't get the result I am expecting. The result I get is this:</p>
  <pre><code>[[ 3  0  5  0  0  0]
   [ 0 -1  0  9  0  0]
   [ 0  0  0  0 -2  1]
   [ 3  1  0  0  2  0]]
  </code></pre>
  <p>Can anyone tell me what I am doing wrong and also the correct way to slice the array?</p>