I have the current data:
NAME
Andrew ([1], [0], [100])
Sam ([1, 2, 3, 4], [0, 0, 0, 0], [100, 100, 100, 100])
Susan ([1, 2, 3, 4,5], [1, 2, 3, 4, 5], [50, 100, 100, 25, 20])
And I would like to turn them into columns of a dataframe, but am struggling to find a simple command. Usually, I would save them to a list, but want to know if there is simple way of doing this. Each list within a tuple for Name
would be considered a row in the dataframe Thanks.
Name column1 column2 column3
Andrew 1 0 100
Sam 1 0 100
Sam 2 0 100
Sam 3 0 100
Sam 4 0 100
Susan 1 1 50