Tags / melt
Converting Columns to Rows: A Simple Method Using Melt in PySpark and Pandas
Transforming Wide-Format DataFrames to Long Format Using Pandas' Melt Function
Reshaping Wide Data to Long Format with Tidyverse's pivot_longer Function in R
Transposing All but the First Column in a DataFrame Using Pandas.
Reshape/Melt Data with Two Rows of Variable Names Using R and Tidyverse Package