title: How to use xlsxwriter .add_table() method with a dataframe?
body: <p>my data is dataframe ' how can i do it ?</p>
  
  <pre><code>import xlsxwriter
  
  workbook = xlsxwriter.Workbook("test1.xlsx")
  worksheet = workbook.add_worksheet("sheli22")
  worksheet.add_table('B3:F7', {'data': data,'style': 'Table Style Light 17','header_row': False})
  
  workbook.close()
  </code></pre>