title: How can i make python append to the next column?
body: <p>I'm trying to make python append all the data starting from count=1 to the next column but it prints it at the bottom of my result from count=0.
  im using 'self' because of my class and function. the first time that 'count==0' it makes two columns. first column is my 'self.header' and the second one is 'self.oneVariableSum(self.times2)'. but once the count goes to 1, it adds 'self.oneVariableSum(self.times2)' to the bottom end of second column. but i need it to be in a new column instead.
  i have the portion of that code below but i cant figure what i'm doing wrong.</p>
  
  <pre class="lang-py prettyprint-override"><code>
  if (count==0):
  
          self.all.append([self.header,self.oneVariableSum(self.times2)])
  else:
          self.all.append([[None,self.oneVariableSum(self.times2)]])
  
  </code></pre>