0

I have column in my dataset called Injury Information, This column has information such as [ skin tear, burning, fracture]

the data set is like

ID 12434 Injury Information skin tear, burning, fracture

I need the output to be

skin tear
burning
fracture

I have tried these blew code but I could not get the desired result

MedNote = pd.read_csv('ResearchDate.csv')
print( MedNote.head())

#MedNote = MedNote.set_index('Injury Information')

for index, row in MedNote.iterrows():
    
    # Using for loop
   
    for i in MedNote["Injury Information"][index]:
        #for each in i:
            #i.tolist()
             # print(i.str.split(","))
             print(i)

0 Answers0