how to format specific cells in excel using xlsx package in python
问题 I have a pandas df which I am formatting using xlsx package currently I have the option to format an entire row or column using xlsx but not specific cells also I would like to insert few lines in between the DF. Image attached how I want the excel file to look. The below code gives me the file in the 1st part of the image. I need to do some more formatting like inserting new lines and making D13 and E13 in italics. writer = pd.ExcelWriter('Sample Report Test.xlsx' , engine='xlsxwriter') df