Tags / melt
Reshaping Wide Data to Long Format with Tidyverse's pivot_longer Function in R
Reshaping Data from Wide to Long Format while Collapsing Variable Values for Same IDs in R
Transposing All but the First Column in a DataFrame Using Pandas.
How to Aggregate DataFrames in Python Pandas Using Groupby and Dot Methods