import pandas as pd
table =[[1,2,3,4],[11,12,13,14],["Pass","Fail","Pass","Fail"]]
df = pd.DataFrame(table)
df = df.transpose()
headers=["Current_Value","Previous_Value","Result",]
df.columns =headers
writer = pd.ExcelWriter("pandas.xlsx")
df.to_excel(writer, sheet_name='Sheet1')
writer.save()
This code will create a table with headers in bold. I want to add borders to the table that is present in the excel sheet. Will that be possible?