Is there a way to split rows into multiple rows based on some column values?
My input dataframe is
A B C
0 1 1234.0,5643.0 One,Two
1 2 5432 Three,Four
2 3 1278.0,5678.0 Five
I want to split the column B and C with ','. The output dataset to should be:
A B C
0 1 1234.0 One
0 1 1234.0 Two
0 1 5643.0 One
0 1 5643.0 Two
1 2 5432 Three
1 2 5432 Four
2 3 1278.0 Five
2 3 5678.0 Five