name age is_male marks total_marks
0 student1 23 True {'science': 95, 'maths': 89, 'english': 95} 279
1 student2 30 False {'science': 56, 'maths': 32, 'english': 67} 155
2 student3 25 True {'science': 89, 'maths': 56, 'english': 99} 244
3 student4 28 False {'science': 78, 'maths': 55, 'english': 98} 230
i want to convert the marks column values into columns which is in the dict format how can i convert to marks values to dataframe into different columns
name age is_male science maths english total_marks
0 student1 23 True 95 89 95 279
1 student2 30 False 56 32 67 155
2 student3 25 True 89 56 99 244
3 student4 28 False 78 55 98 230