Python : Doing a loop in a single excel cell

Viewed 34

i am looking to do a loop in a single cell in an excel file using PYTHON.

I know it is possible to do with multiple rows using :

for row in raw_data.iterrows():

But i have a cell that has multiple values (let's say 'blue, white'). What i am looking for is how to do a loop in this cell to get and print 'blue' and 'white' separately.

A ' , ' is splitting the values in the cell.

Thank you for your help

0 Answers
Related