I have a nested dictionary called 'data' that has keys (dictionary name) and values (dictionary).
I wish to separate out the individual dictionaries from the outer dictionary.
This is how I read a folder of csv files to make the dict of dicts:
#read csvs with filename as dictionary names
data= dict()
for file in files:
key = file
val = pd.read_csv(
csv_path + file + ".csv", index_col=0).to_dict(orient='dict')['values']
data[key] = val