title: How to append rows in a python list?
body: <p>I want to append a row in a python list. </p>
  
  <p>Below is what I am trying,</p>
  
  <pre><code># Create an empty array
  arr=[]
  values1 = [32, 748, 125, 458, 987, 361]
  arr = np.append(arr, values1)
  print arr
  </code></pre>
  
  <blockquote>
    <p>[  32.  748.  125.  458.  987.  361.]</p>
  </blockquote>
  
  <p>I want to append second row in the list, so that I will get an array like</p>
  
  <blockquote>
    <p>[ [32.  748.  125.  458.  987.  361.], [42.  344.  145.  448.  187. 
    304.]]</p>
  </blockquote>
  
  <p>I am getting error when I try to add second row</p>
  
  <pre><code>values2 = [42, 344, 145, 448, 187, 304]    
  arr = np.append(arr, values2)
  </code></pre>
  
  <p>How to do that?</p>