I want to make a dictionary of data frames from existing data frame as shown in the picture
df2=pd.DataFrame({"Col":[9,8,0],"Row":[6,4,22],"id":[26,55,27]})
**CODE THAT I NEEDS MODIFICATION**
i={k:g["Col"].to_frame() for k,g in df2.groupby("id")}###### THIS IS MY TRIED CODE
##where df2 is the name of the pandas data frame
I want Id to be the key of the dictionary of the data frame and the "Col" and "Row" to be as a data frame