I have a big excel file that contains many different sheets. All the sheets have the same structure like:
Name col1 col2 col3 col4 1 1 2 4 4 3 2 1 - How can I concatenate (vertically) all these sheets in
Pandaswithout having to name each of them manually? If these were files, I could useglobto obtain a list of files in a directory. But here, for excel sheets, I am lost. - Is there a way to create a variable in the resulting dataframe that identifies the sheet name from which the data comes from?
Thanks!