title: Python reshape list to ndim array
body: <p>Hi I have a list flat which is length 2800, it contains 100 results for each of 28 variables: Below is an example of 4 results for 2 variables</p>
  
  <pre><code>[0,
   0,
   1,
   1,
   2,
   2,
   3,
   3]
  </code></pre>
  
  <p>I would like to reshape the list to an array (2,4) so that the results for each variable are in a single element. </p>
  
  <pre><code>[[0,1,2,3],
   [0,1,2,3]]
  </code></pre>