I\'m trying to export multiple dataframes from python to excel, I wrote a for loop to do so. Following an answer from another thread https://stackoverflow.com/a/54237619/1235032