I have a pandas dataframe which has dict as values. I would like to transform this dataframe into the format in expected result.