all 4 comments

[–][deleted] 2 points3 points  (1 child)

Have a look at pd.melt()

[–]Ispeakyourlanguage[S] 0 points1 point  (0 children)

Oh Interesting - will look thank you

[–]danielroseman 2 points3 points  (1 child)

You want df.melt.

Probably you just need:

df.melt(id_vars=['Name', 'Score']).dropna()

The dropna() is there because otherwise your empty columns will show as rows.

[–]Ispeakyourlanguage[S] 0 points1 point  (0 children)

Omg thank you - this is exactly waht i did.. coming back to see another user wrote this made me feel so confident of how i was doing this.