pandas · Lesson 7.2 · Pro

melt

Turn a wide table with one column per day into a long table with one row per value.

In this lesson

  1. Wide tables are hard to group
  2. melt: columns become rows
  3. Clean the new column
  4. Long data answers more questions