I collected data from several excel files with code as follows:
path_list=[list_of_paths]
data=[pd.read_excel(path) for path in path_list]
Which gave me list of dataframes Fortunately, It was only 16 files. So, I created manually separate dataframes. I wondered (and unsuccessfully searched) if there is any way to create them with some code? I tried loop like this:
i=0
for df in data:
i+=1
'dataframe'+str(i)=pd.DataFrame(df)
but got error 'can't assign operator.
Could somebody help me in this issue?