Convert data obtained from MPrester summary.search to a Dataframe ,fields in search as columns in dataframe

search_results = mpr.summary.search(formula=“ABC”, fields=[“structure”, “formation_energy_per_atom”,“composition”])

i need this as a dataframe in which structure ,formation_energy_per_atom,composition are columns , so that i can featurize,
search_results=pd.DataFrame(search_results) is giving be columns with 0,1,2 and structure [ ] ,and and compositon as rows, other methods are giving be composition as string and not able to featurize

any help is really appreciated

This thread might help. Also please use the forum search function to explore similar questions before posting. Thanks!