title: Reshaping array into a square array Python
body: <p>I have an array of numbers whose shape is <code>26*43264</code>. I would like to reshape this into an array of shape <code>208*208</code> but in chunks of <code>26*26</code>.</p>
  
  <pre><code>[[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
  [10,11,12,13,14,15,16,17,18,19]]
  </code></pre>
  
  <p>becomes something like:</p>
  
  <pre><code>[[0, 1, 2, 3, 4],
  [10,11,12,13,14],
  [ 5, 6, 7, 8, 9],
  [15,16,17,18,19]]
  </code></pre>