Dear Members,
I have a scenario where an excel workbook contains a data sheet and another sheet which has a pivot table derived from the data sheet.
Every month new data needs to be loaded into the data sheet (appended/freshly added) and the pivot tables refreshed.
So my idea was to read the existing excel structure to a pandas data frame, append the new information and dump it to the data sheet or write fresh information into the data sheet and then use pywin32 to refresh the pivot tables.
However, as soon as I modify the data sheet using pandas, the pivot table gets dismissed.
Request your kind suggestions and guidance based on your experience and expertise please.
I have a scenario where an excel workbook contains a data sheet and another sheet which has a pivot table derived from the data sheet.
Every month new data needs to be loaded into the data sheet (appended/freshly added) and the pivot tables refreshed.
So my idea was to read the existing excel structure to a pandas data frame, append the new information and dump it to the data sheet or write fresh information into the data sheet and then use pywin32 to refresh the pivot tables.
However, as soon as I modify the data sheet using pandas, the pivot table gets dismissed.
Request your kind suggestions and guidance based on your experience and expertise please.