title: Concatenate columns for rows containing floats, integers and strings
body: <p>I have a 10x10 matrix and I would like to obtain a 10x1 matrix. So for each row, I would like to concatenate all columns, and it should not matter if a column contains a float or integer that needs to be concatenated with a string</p>
  
  <p>I would basically like to achieve the following:</p>
  
  <pre><code>' '.join([table[1][2],table[1][3],table[1][4]])
  </code></pre>
  
  <p>And I tried to do it with the following for loop:</p>
  
  <pre><code>joinit = []
  for r in xrange(0,len(table)): 
      joinit[c][r] = ' '.join([table[c][r],table[c][r+1]])
  </code></pre>
  
  <p>However, it gives me errors like <code>'list index out of range'</code></p>
  
  <p>The data would look like follows:</p>
  
  <pre><code>0      1      2      3      4      5        6
  Hello  I      would  like   5      cups
  We     do     not    have   that   0.05     sir
  </code></pre>
  
  <p>With uneven number of columns for each row that are filled. </p>