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