Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python melt

# Name is id_vars and Course is value_vars
pd.melt(df, id_vars =['Name'], value_vars =['Course'])
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #python #melt
ADD COMMENT
Topic
Name
9+5 =