im trying to save an output that i have calculated using python pandas, i have used tabulate to organize the output, but when im writing the output into an excel file, it won't open, and error message from excel appears, i have opened the file using text book and the output was correct
writer = open(file='Company.xlsx',mode='w') writer.writelines(tabulate(result))