I am trying to read multiple excel files. Each time one excel file is read I would like to append it to the other excel file. At the end, I should end up with one dataframe which has the content of all excel files.
How can I do that in a for loop?
Here is my attempt:
for i in range(1,10):
temp = pd.read_excel(path[i])
temp_final=temp
The idea here is to have temp_final containing the content of all excel files. Something similar to temp_final=[excelfile1, excelfile2] pd.concat(temp_final)
I would welcome any idea on how I can finish this for loop. Many Thanks