convert two dataframe to dictionary using dataframe name as keys and values are content code example
Example 1: convert dict to dataframe
#Lazy way to convert json dict to df
pd.DataFrame.from_dict(data, orient='index').T
Example 2: dataframe to dict without index
df.to_dict('index')