xlsxwriter: How to insert a new row
问题 Using xlsxwriter, how do I insert a new row to an Excel worksheet? For instance, there is an existing data table at the cell range A1:G10 of the Excel worksheet, and I want to insert a row (A:A) to give it some space for the title of the report. I looked through the documentation here http://xlsxwriter.readthedocs.io/worksheet.html, but couldn't find such method. import xlsxwriter # Create a workbook and add a worksheet. workbook = xlsxwriter.Workbook('Expenses01.xlsx') worksheet = workbook