I have a pandas dataframe like this:
name favourite_fruits votes
0 A banana [5, 0, 5, 0, 5]
1 B orange [5, 0, 5]
2 C peach [5]
I need to convert "votes" column in:
name favourite_fruits vote1 vote2 vote3 vote4 vote5
0 A banana 5 0 5 0 5
1 B orange 5 0 5
2 C peach 5
How i can do that? Thanks in advance for your answers.