11
2
Is there a way (tool) to edit XLSX files using Linux shell? What I need is a way to remove the last three not empty rows from the first worksheet.
I know that XLSX is just a zip file, packed with different XML files, which I could individually edit. However, I would like to avoid analyzing and changing the XML files myself, if possible.
Sounds promising - will give it a try.
Just to be sure - df.ix[:-3] - will delete last three not empty rows? Because an excel sheet has a lot of empty rows, if you look at the xml file in the xlsx. – Bojan Hrnkas – 2018-07-10T13:53:11.697
2
it deletes last 3 rows. empty rows after last non empty row are ignored. For convenience here: https://pandas.pydata.org/pandas-docs/version/0.22/generated/pandas.DataFrame.html is a reference of pandas dataframe
– DDS – 2018-07-10T13:55:22.643