i have a df that contains some columns like the following table.
A | B | C |
---|---|---|
a | 1,3,5 | id_1 |
b | 2,5,7 | id_2 |
c | 8,13,18 | id_3 |
What I want is to extract the values from Column B into a new df with the Values from column C like this:
id_col | val_col |
---|---|
id_1 | 1 |
id_1 | 3 |
id_1 | 5 |
id_2 | 2 |
id_2 | 5 |
id_2 | 7 |
id_3 | 8 |
id_3 | 13 |
id_3 | 18 |
Maybe my search terms are not specific enough, cause its not my native language, but I just don't found a solution yet.
Thanks for help.