I have an Excel in xlsx format. It has two sheets, TransactionDetails and Pivot. Pivot sheet contains pivot tables generated from data in TransactionDetails sheet. How can I convert the pivot sheet into HTML?
I have tried using Apache POI and POI is unable to read cells from pivot tables (the pivot table was generated using Apache POI).
I was able to find a solution to the above problem. Since the pivot tables were generated by Apache POI, the excel needed to be opened first and saved for the excel to load the pivot tables from the definitions. I my case, I save also saved the excel as an xls file (Pandas had issues with reading pivot table filters generated by POI).
Thereafter , I used xlrd to convert my Pivot table to html.