In this PR I fix a bug that caused the excel column names not to be written out if the dataframe is empty.
The issue was that we were passing over the entire dataframe if no input data was found, rather then passing over only the pivoting of the years logic if no input data is found.
In this PR I fix a bug that caused the excel column names not to be written out if the dataframe is empty.
The issue was that we were passing over the entire dataframe if no input data was found, rather then passing over only the pivoting of the years logic if no input data is found.