So to featurize them you’ll need to convert them to pymatgen structures. To advise you on how to convert them, you should post an example of a structure string in your df
Thank you for replying to my query. Yes, my structure objects are strings. Could you please tell me the procedure for converting strings to pymatgen structures? An example of a structure string present in my dataset is -
Full Formula (Ac1 Cr1 O3)
Reduced Formula: AcCrO3
abc : 3.989313 3.989313 3.989313
angles: 90.000000 90.000000 90.000000
Sites (5)
SP a b c magmom
0 Ac 0 0 0 0.014
1 Cr 0.5 0.5 0.5 2.852
2 O 0.5 0.5 0 0.01
3 O 0.5 0 0.5 0.01
4 O 0 0.5 0.5 0.01
hmm it seems like you have saved the python print output of the structure, which might be a bit of a pain to reverse engineer.
As a first step, I would try re-downloading the dataset from wherever you got it from but saving the structures as pmg structure objects rather than strings (i.e., I am guessing there is some code you ran which accidentally converted these structures to strings and put them in the dataframe)
FYI Matminer has a function in matminer.utils.io called store_dataframe_as_json which can write (and load_dataframe_from_json which can read) dataframe files containing pmg objects to/from disk.