0

I have a large csv file with about 15 million rows. How do i remove the very last row of the file using chunks?

Or, do i have to read the file, can i go directly to it and remove the row?

Thanks

  • 1
    Does this answer your question? [Remove the last line from a file in Bash](https://stackoverflow.com/questions/4881930/remove-the-last-line-from-a-file-in-bash) – derpirscher Jul 28 '22 at 15:15
  • 1
    Does this answer your question? https://stackoverflow.com/questions/1877999/delete-final-line-in-file-with-python – derpirscher Jul 28 '22 at 15:16

0 Answers0