title: How to read csv file into Python 2d array?
body: <p>For example, I have a csv file like :</p>
  
  <pre><code>| a | b | c |
    1   2   3
    4   5   6 
    7   8   9
    10  11  12
  </code></pre>
  
  <p>I need to create a numpy.ndarray from this csv file. For this example, it's size should be (2,3).</p>
  
  <p>and should be like this</p>
  
  <pre><code>5(1+4), 7(2+5), 9(3+6)
  17, 19, 21
  </code></pre>
  
  <p>Sum the rows in its own(every 2 rows)</p>
  
  <p>Panda, numpy or similary libraries can be used. Actually I am reading the csv with panda but after that i cannot do it.</p>
  
  <p>Any help is appriciated.</p>