I would like to map each file to its unique dataframe. Something like:
df1 = pd.read_csv(file1, ...)
df2 = pd.read_csv(file2, ...)
...
dfn = pd.read_csv(filen, ...)
for this I did the following:
files = glob.glob("*.csv")
for i in range(len(files)):
df_i = pd.read_csv(files[i],...)
I get no error. However, I cannot access any of the dataframes. When I type df_1 I get "undefined". What's going on?