I am trying to write my dataframe to excel and would like to do it so that the filter option based on the first row in the dataframe is automatically selected when I open excel. I can obviously manually select filter in excel but was wondering if there is a way to code this in python?
Result would be that I open excel file containing dataframe and the filter option is already selected.