I transform a list into a Dataframe and send it to an Excel, it's working fine. Here is the code:
Df = pd.DataFrame(Lista, columns = colunas_geradas)
writer = pd.ExcelWriter('Exemplo.xlsx', engine = 'xlsxwriter')
Df.to_excel(writer, sheet_name = 'Teste', index = False)
writer.save()
I wonder if you can format Excel in code. For example: Changing the color of the Column Names, arranging the size of the ballots, adding an image, things like that.