Python to delete a row in excel spreadsheet

前端 未结 6 631
走了就别回头了
走了就别回头了 2021-01-20 03:21

I have a really large excel file and i need to delete about 20,000 rows, contingent on meeting a simple condition and excel won\'t let me delete such a complex range when us

6条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-20 03:40

    If you just need to delete the data (rather than 'getting rid of' the row, i.e. it shifts rows) you can try using my module, PyWorkbooks. You can get the most recent version here:

    https://sourceforge.net/projects/pyworkbooks/

    There is a pdf tutorial to guide you through how to use it. Happy coding!

提交回复
热议问题