title: Appending to 2 dimensional array in python
body: <p>I am reading Data from <code>CSV</code> file which comes similar to the below matrix/array</p>
  
  <pre><code>b = [[1, 2, 3, 4], [5, 6, 7, 8], [9, 10, 11, 12]]
  </code></pre>
  
  <p>I would like to change the index of every element greater than 1 to a new row in the arraylist </p>
  
  <p>this will make the above array as below</p>
  
  <pre><code>b = [[1,2],[5,6],[9,10],[3,4],[7,8][11,12]]
  </code></pre>
  
  <p>what i have done in python  (but couldn't get the answer)</p>
  
  <pre><code>b = [[1, 2, 3, 4], [5, 6, 7, 8], [9, 10, 11, 12]]
  c = b
  rows = len(b)
  columns = len(b[0])
  c[4].append(1)
  count = 3
  for i in  range(rows):
   for j in  range(columns):
       if i &gt; 1:
           for k in columns
               list1 = 
               c.insert(count,list1)
               count = count + 1
  </code></pre>