title: How to turn a numpy array to nested list?
body: <p>I got a numpy array:</p>
  
  <pre><code>[[  260586.25967407  2736302.81560516   260586.25967407  2736273.93140412]
   [  260586.25967407  2736302.81560516   260615.14387512  2736302.81560516]
   [  252209.84136963  2744072.66568756   252238.72557068  2744072.66568756]
   [  252209.84136963  2744072.66568756   252209.84136963  2744043.78148651]
   [  263041.41676331  2727262.06067658   263041.41676331  2727233.17647553]
   [  263041.41676331  2727262.06067658   263070.30096436  2727262.06067658]
   [  270782.38264465  2733241.09029389   270753.4984436   2733269.97449494]
   [  270782.38264465  2733241.09029389   270782.38264465  2733212.20609284]]
  </code></pre>
  
  <p>and I want to turn it to nested list as follow (2 rows in a nest):</p>
  
  <pre><code>[[((260586.25967407227, 2736302.815605165), (260586.25967407227, 2736273.931404115)), ((260586.25967407227, 2736302.815605165), (260615.1438751221, 2736302.815605165))], [((252209.84136962818, 2744072.6656875624), (252238.72557067798, 2744072.6656875624)),  ((252209.84136962818, 2744072.6656875624), (252209.84136962818, 2744043.7814865126))], [((263041.4167633059, 2727262.060676576), (263041.4167633059, 2727233.1764755263)), ((263041.4167633059, 2727262.060676576), (263070.3009643557, 2727262.060676576))], [((270782.38264465425, 2733241.0902938857), (270753.49844360445, 2733269.9744949355)), ((270782.38264465425, 2733241.0902938857), (270782.38264465425, 2733212.206092836))]]`
  </code></pre>
  
  <p>I tried the following code but got not what I want:</p>
  
  <pre><code>abc = numpy.genfromtxt('abc.csv', delimiter = ',')
  b = abc.tolist()
  print b
  [[260586.25967407227, 2736302.815605165, 260586.25967407227, 2736273.931404115], [260586.25967407227, 2736302.815605165, 260615.1438751221, 2736302.815605165], [252209.84136962818, 2744072.6656875624, 252238.72557067798, 2744072.6656875624], [252209.84136962818, 2744072.6656875624, 252209.84136962818, 2744043.7814865126], [263041.4167633059, 2727262.060676576, 263041.4167633059, 2727233.1764755263], [263041.4167633059, 2727262.060676576, 263070.3009643557, 2727262.060676576], [270782.38264465425, 2733241.0902938857, 270753.49844360445, 2733269.9744949355], [270782.38264465425, 2733241.0902938857, 270782.38264465425, 2733212.206092836]]
  </code></pre>