I have a dataframe:
id type value
1 inner Upload new model. \nUpdate data.
2 outer Create new task.
I want to split rows which have \n in column value by splitting text in it and placing in new row. So desired result is:
id type value
1 inner Upload new model.
1 inner Update data.
2 outer Create new task.
This dataframe is for example, real one is much bigger, so I need to write a function to apply to dataframe. How could I do that?