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.
Best Answer
My idea is a python script like this:
to check "non-emptiness" you can use
df.notna()