I have many dataframes with names such as 'ABC', 'XYZ'...

I also have a dictionary with keys, where each key has a list of 200 values which are the names of the dataframes i.e. ['ABC','XYZ',...]

I want to update this dictionary, so instead of containing the names of the dataframes, it contains the dataframes themselves as a nested dictionary.

THis will enable me to iterate over a specific key of the main dictionary dictionary, and access each of its 200 dataframes by name

i.e. dictionary[key1][ABC] would print out the ABC dataframe.

Any ideas? :)