I have a dataframe of this format
When I export it to excel and use filters on the basis of SITE-ID, it will only show the first row of that group. For example
I do understand, that's how excel works and there are alternatives to this from within excel. But is there something I could do to solve this problem from within pandas when it exports to excel so that when I filter on Site-ID, I will see everything under that Site-ID? I don't want to do any VBA or macros for this.
Thanks