Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import glob
- import pandas as pd
- path = "<path to files>"
- file_identifier = "*.xlsx"
- all_data = pd.DataFrame()
- for f in glob.glob(path + "/*" + file_identifier):
- df = pd.read_excel(f)
- all_data = all_data.append(df,ignore_index=True)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement