Closed wangdaye078 closed 2 years ago
@newhying thank you for submitting this. I agree moving the readxl_get_workbookxmlrels
outside the tool will be faster. There is a potential that external tools may write each sheet differently. I can make this update however it may get reverted if others run into issues due to this
def readxl_get_workbook(fn): ....... for tag_sheet in root.findall('./default:sheets/default:sheet', ns): name = tag_sheet.get('name') try: rId = tag_sheet.get('{' + ns['r'] + '}id') except KeyError:
the output of openpyxl can sometimes not write the schema for "r" relationship
.....
readxl_get_workbookxmlrels is run many times
is run faster