title: xlsxwriter: text_wrap() not working
body: <p>I'm creating and formatting excel files and want to wrap the text in column. I found the method in xlsxwriter which is text_wrap() but when I use this method, Its not working for me. I tried everything but failed.</p>
  
  <p>What I'm doing in my script.</p>
  
  <ul>
  <li>reading a csv using pandas</li>
  <li>creating and saving dataframe into excel file</li>
  <li>applying text wrap over it.</li>
  </ul>
  
  <p><strong>Script</strong></p>
  
  <pre><code>text_format = workbook.add_format({'text_wrap': True})
  worksheet.conditional_format('A1:W{}'.format(len(df)), {'type': 'no_errors',
                                        'format': text_format})
  </code></pre>
  
  <p>Any help will be appreciated.</p>
  
  <p>Thanks</p>