Concept Flow - melt() for unpivoting
Start with wide DataFrame
Choose id_vars (fixed columns)
Choose value_vars (columns to unpivot)
Apply melt()
Get long DataFrame with variable and value columns
Use for easier analysis or plotting
The melt() function takes a wide table and turns selected columns into rows, making data longer and easier to analyze.