I have a dataframe of names and lists like this:
| Name | value |
|:-----|------:|
| A |[1,4,7]|
| A |[9,2,5]|
| A |[6,9,3]|
| A |[1,4,7]|
| A |[9,2,5]|
| B |[6,9,3]|
| B |[1,4,7]|
| B |[9,2,5]|
| B |[6,9,3]|
| B |[1,4,7]|
I want to reshape this dataframe to another dataframe as for all name there will have 3 lists like this:
| Name | value |
|:-----|----------:|
| A |[1,9,6,1,9]|
| A |[4,2,9,4,2]|
| A |[7,5,3,7,5]|
| B |[6,1,9,6,1]|
| B |[9,4,2,9,4]|
| B |[3,7,5,3,7]|
Is there any kind of simpler way to do this by using pandas?