a_dictionary
has DataFrames in it.
How do I automate the extraction of these values into the variables that hold the names of keys themselves?
Basically, automate the process below, but with more DataFrames:
df1 = a_dictionary['df1']
df2 = a_dictionary['df2']
df3 = a_dictionary['df3']
I tried:
for i in a_dictionary:
i = a_dictionary[i]
pe = 0
for i in a_dictionary:
i = list(a_dictionary.keys())[pe]
pe += 1
pe = 0
for i in a_dictionary:
if pe < len(a_dictionary):
i = list(a_dictionary.keys())[pe]
pe += 1
else:
break