Is it possible to get an Excel document's row count without loading the entire document into memory?

前端 未结 5 1228
暖寄归人
暖寄归人 2020-12-04 19:09

I\'m working on an application that processes huge Excel 2007 files, and I\'m using OpenPyXL to do it. OpenPyXL has two different methods of reading an Excel file - one \"no

5条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-04 19:30

    https://pythonhosted.org/pyexcel/iapi/pyexcel.sheets.Sheet.html see : row_range() Utility function to get row range

    if you use pyexcel, can call row_range get max rows.

    python 3.4 test pass.

提交回复
热议问题