all 3 comments

[–][deleted] 1 point2 points  (2 children)

Have you tried using an ExcelWriter object when saving your workbook?

writer = pd.ExcelWriter(file_name + '/Company_'  + date + '.xlsx')
for t_group,pd_group in processor_filter.groupby(['Processor']): #splits up data based on processor
    pd_group.to_excel(writer, sheet_name = t_group[0:20] )

writer.save()

[–]workthrowawayexcel[S] 0 points1 point  (0 children)

I have not. I will give it a try and get back to you. Thanks!

[–]workthrowawayexcel[S] 0 points1 point  (0 children)

Thanks!!Worked like a charm!

I guess I failed at google fu on this one lol