xml - Reading specific excel sheet into Python pandas dataframe without loading the whole workbook -
pd.read_excel(filepath, sheetname) , openpyxl.workbook(filepath) load whole workbook. have 30mb file on server , takes long time load. wondering if there method load specific sheet pandas dataframe without opening whole workbook.
i have looked couple of methods. recently, converting workbook .zip , reading .xml files. know people have suggested using lxml. i'm not sure how go here.
is there better way of doing this?
Comments
Post a Comment