Hello All.
Here you can see how to concatenate and format Excel Files using Pandas & openpyxl
Data Processing Steps
- Unzip all the input Files.
- Concatenate All the Excel Files as a dictionary (All Sheets merge in their corresponding sheet name).
- Add 3 columns name ‘Comments’ , ‘Bottleneck’ and ‘Status’ with blank value in each sheet.
- Merge cluster definition data set with Step-3, output in a dict format.
- Delete the Excel sheets in given path.
- Export the data set in Excel File.
Excel File Formatting
- Move the last column to 7 column in all the Sheets.
2 .Set Font size and Font Name. - Set Header Font and Background colour.
- Apply Border on all the sheets.
- Apply Alignment on all the sheets.
- Performed wrape header and header aligment.
- Set auto size column width.
- Change the Colour of All the Tabs
Read more to see the Code:
Also you can follow me on Linkedin: Sign Up | LinkedIn