I am trying to convert a list of values in a Dataframe row into seperate columns
I have tried to use pivot,pivot_table and get_dummies but I couldnt get the expected result.
Actual Columns:
A B
1 [1, 3, 5]
2 [2, 4, 6]
Expected Output:
A B_1 B_2 B_3
1 1 3 5
2 2 4 6