Got a pandas dataframe with the below structure
0 [{'review_id': 4873356, 'rating': '5.0'}, {'review_id': 4973356, 'rating': '4.0'}]
1 [{'review_id': 4635892, 'rating': '5.0'}, {'review_id': 4645839, 'rating': '3.0'}]
....
....
I would like to flatten into a dataframe with the following columns review_id and rating
I was trying out pd.DataFrame(df1.values.flatten())
but looks like I'm getting something basic not right, need help!!!