Iterate through excel files and sheets and concatenate in Python
问题 Say I have a folder which have multiple excel files with extension xlsx or xls , they share same header column a, b, c, d, e except some empty sheet in several files. I want to iterate all the files and sheets (except for empty sheets) and concatenate them into one sheet of one file output.xlsx . I have iterated through all excel files and append them to one file, but how could I iterate through all the sheets of each files if they have more than one sheets? I need to integrate two block of