I have created Excel sheet and written data into Excel file.
Do we have any functionality for sort column using openpyxl?
I could not attach Excel sheet and droping one row of excel sheet:
0 -269.9 99.97 0 -25.58 0 0.0006901 -269.9 127 0 26.23 0 810 -269.9
I'm pretty sure there is no such thing in openpyxl or xlwt or even xlsxwriter (but if you're on windows, you can do it via win32com and Excel.Application).
Usually, you should just read the data from the excel file, sort it in python and write the data back.
See similar questions:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With