title: Cell spanning multiple columns in table using python-docx
body: <p>I'm trying to create a table that looks like this, using the <a href="https://github.com/mikemaccana/python-docx" rel="nofollow noreferrer">python-docx</a> module.</p>
  
  <p><a href="https://imgur.com/TO09jlO" rel="nofollow noreferrer"><img src="https://i.imgur.com/TO09jlO.png" alt="Example of the table I want to create" /></a></p>
  
  <p>Working from the example code for creating a table in example-makedocument.py and reading through the code in docx.py, I thought something similar to this would work:</p>
  
  <pre><code>tbl_rows = [ ['A1'], 
         ['B1', 'B2' ],
         ['C1', 'C2' ] ]
  tbl_colw = [ [100],
         [25, 75],
         [25, 75] ]
  tbl_cwunit = 'pct'
  
  body.append(table(tbl_rows, colw=tbl_colw, cwunit=tbl_cwunit))
  </code></pre>
  
  <p>however this corrupts the docx document, and when Word recovers the document the table is shown as this:</p>
  
  <p><a href="https://imgur.com/3CJkR6R" rel="nofollow noreferrer"><img src="https://i.imgur.com/3CJkR6R.png" alt="Actual table created" /></a></p>
  
  <p>How can I get a row to properly span multiple columns using python-docx?</p>