I have collection of excel files containing similar datasets. I want it to be read by different Pandas dataframes.
import glob
import pandas as pd
path=r"C:users/me/desktop/ExcelData"
files=glob.glob('*.xls')
for f in files:
df[f]=pd.read_excel(f)
lst=[]) outside the for loop and then append your dataframe in it.....then access your dataframe bylst[0],lst[1].....so where you stucked?