I stuck with the problem how to divide a pandas dataframe by row,
I have a similar dataframe with a column where values are separated by \r\n and they are in one cell,
    Color                              Shape  Price
0  Green  Rectangle\r\nTriangle\r\nOctangle     10
1   Blue              Rectangle\r\nTriangle     15 
I need to divide this cell into several cells with the same values as other columns, e.g.
   Color      Shape  Price
0  Green  Rectangle     10
1  Green   Triangle     10
2  Green   Octangle     10
3   Blue  Rectangle     15
4   Blue    Tringle     15
How do I do it well?
 
     
     
     
     
    