I have a zip file t.zip containing two csv files. The first one is s.csv (30kB) and the other is p.csv (60GB).
What I’m doing now is unzipping p.csv to the disk, reading the second last line, doing some logic and then adding new lines to p.csv. After that I’m zipping the file again.
Is there a better way to do this? Somithing without unzipping to disk an zipping again?
I’m using Python 3.12 and Pandas.
Thanks a lot!
1