title: could not broadcast input array from shape (20) into shape (19)
body: <p>I have a list that looks like this:</p>
  
  <pre><code>mylist=[26, 26, 26,...., 290, 290,..290] 
  </code></pre>
  
  <p>The # of unique numbers in mylist is 262. For every single unique number, there are 19 duplicates. So the # of 26 is 19, the number of 27 is also 19, etc,etc, the number of 290 is also 19. </p>
  
  <p>So I have 262*19 elements in mylist. </p>
  
  <p>I transform mylist into 262/19:</p>
  
  <pre><code>mylist= np.array(mylist).reshape((262, 19))
  </code></pre>
  
  <p>Now I'm trying to add one more element to every single row:</p>
  
  <pre><code>   for i in mylist:
  
      i = np.append(i, i[0])
  </code></pre>
  
  <p>It's saying that could not broadcast input array from shape (20) into shape (19)</p>