I'm unable to split a text document into multiple sentences in a data frame and create rows for each sentence while other column values should be the same. Let me explain it a little:
Initially
A | B | C | D
-------------
x | A.B | x | x
y | C.D.E | y | y
What I would like to have (after splitting text in B column)
A | B | C | D
-------------
x | A | x | x
x | B | x | x
y | C | y | y
y | D | y | y
y | E | y | y
What I have done so far?
I've managed to split the text document into different sentences using split() method. Now I'm stuck on the second part.
Help would be highly appreciated.