I have recently checked the pyexcelerate
to help improve the performace of exporting a pandas data frame to excel file i have the following code
values = [my_df.columns] + list(my_df.values)
wb = Workbook()
wb.new_sheet('outputs', data=values)
wb.save('outputfile.xlsx')
I have a django model that has a filefield into it how can i save the generated wb
to a django file field ?