I have an Excel workbook with many tabs. Each tab has the same set of headers as all others. I want to combine all of the data from each tab into one data frame (without rep
import pandas as pd f = 'file.xlsx' df = pd.read_excel(f, sheet_name=None, ignore_index=True) df2 = pd.concat(df, sort=True) df2.to_excel('merged.xlsx', engine='xlsxwriter', sheet_name=Merged, header = True, index=False)