I have dataframe like this
Is there any way to convert to this
I tried to traverse data frame than traverse grades array and add add to new data frame but it doesn't seem most efficient or easy way is there any built in method or better way to approach this problem
PS: I searched for similar questions but I couldn't find it if there is question like this I am very sorry ı will delete immediately