In encountered this problem when converting a json object to a csv:
I now have two lists:
list_A is a list of strings. Each string is a name of df.
If you want three variables, the best way to do it is to assign them like this:
df1, df2, df3 = list_B
This will unpack the list giving values to each variable.
For too many variables use:
{'df{}'.format(i): df for i, df in enumerate(list_B, 1)}