You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, xlsx2html function loads the workbook and reads an excel. This works fine if it is a small workbook, or only one sheet within the workbook that needs to be rendered. If we have a big excel workbook where multiple sheets need to be rendered from the same workbook, it will re-reads the workbook significantly adding time to it. However, if a openpyxl workbook object is accepted as an optional parameter, then it gets around the issue of reloading the workbook each time, if we need to render multiple sheets.
if workbook is None:
wb = openpyxl.load_workbook(filepath, data_only=True)
else:
wb=workbook
The text was updated successfully, but these errors were encountered:
At the moment, xlsx2html function loads the workbook and reads an excel. This works fine if it is a small workbook, or only one sheet within the workbook that needs to be rendered. If we have a big excel workbook where multiple sheets need to be rendered from the same workbook, it will re-reads the workbook significantly adding time to it. However, if a openpyxl workbook object is accepted as an optional parameter, then it gets around the issue of reloading the workbook each time, if we need to render multiple sheets.
if workbook is None:
wb = openpyxl.load_workbook(filepath, data_only=True)
else:
wb=workbook
The text was updated successfully, but these errors were encountered: