I currently have the table like this
I want it changed to :
I tried using df.melt(['genre'], var_name='Date', value_name='Value') but it's not giving the correct answer.
I currently have the table like this
I want it changed to :
I tried using df.melt(['genre'], var_name='Date', value_name='Value') but it's not giving the correct answer.