'Is there a method to split multilines to seperate rows

I have a data frame ( as shown in the image link ), some cells contain multiple line within the cell and also have unequal number of values. how can i split and show them separately in each line ( please refer the image link below ) to get the desired output line wise.

pandas data frame query



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source