title: Reshape 1d array to 3d array numpy
body: <p>I have a array as:</p>
  
  <pre><code>[0 1 2 3 4 5 6 7 8 ....] #2560 positions
  </code></pre>
  
  <p>I'm trying to reshape this 1D array to 3D as:</p>
  
  <pre><code>A = np.arange(2560)  #generating example data
  B = np.reshape(A,(16,16,10))   # here, i's expect to be 16 rows 16 x columns x 10 "frames" 
  C = B[:,:,0]
  </code></pre>
  
  <p>However, the result is giving something like this</p>
  
  <pre><code>C = [[0, 10, 20, 30, .., 150]
       [160, 170, 180, ..., 310]
       ...
       [2510,...2550]
  </code></pre>
  
  <p>The correct would be </p>
  
  <pre><code>print(B[:,:,0])
  
  [[0, 1, 2, 3, .., 15]
   [16, 17, 18, ..., 31]
   ...
   [240,241,..., 255]
  
  print(B[:,:,1])
  
  [[256, 257, , .., 271]
   ...
   [496,497,..., 511]
  </code></pre>
  
  <p>What I'm doing wrong?</p>
  
  <p>The idea is to not use for's in order to make it faster</p>