I would like to know how to name in a different way the data frames that I am going to create using the code below.
import pandas as pd
import glob
os.chdir("/Users/path")
dataframes=[]
paths = glob.glob("*.csv")
for path in paths:
dataset= pd.read_csv(path)
dataframes.append(dataset)
I would like to have something like this:
dataset_1
dataset_2
....
in order to use each of them for different analysis purposes. Could you please tell me how to do this or just suggesting me any other post related to my question (then closing mine, if duplicate)?
Thank you