title: Difference in numpy indexing
body: <p>Why this indexing result in different arrays?</p>
  
  <pre><code>import numpy as np
  
  x = np.array(range(0,2*3*4)).reshape(2,3,4)
  
  print(x[0,:,[2,3]])
  print(x[0,:,2:])
  </code></pre>
  
  <p>the first output is</p>
  
  <pre><code>[[ 2  6 10]
   [ 3  7 11]]
  </code></pre>
  
  <p>the second one is </p>
  
  <pre><code>[[ 2  3]
   [ 6  7]
   [10 11]]
  </code></pre>
  
  <p>in the second case <code>2:</code> means take from the 2nd value until the end, the last column of that dim is the 3 column, that means that it is taking the 2nd and 3rd dimensions, therefore that is the same as [2,3], so what is the difference between both ways of indexing arrays?</p>