4
I turn a list into a Dataframe and send it to an Excel, it’s working fine. Follow 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 it is possible to format Excel in the code. For example: Change the color of the Column Names, tidy up the size of the ballots, add an image, things like that.