0PricingLogin
Data Science Academy · Lesson

Wide vs Long, and Tidy Data

Why layout shapes what you can do.

Two Ways to Lay Out a Table

The same numbers can sit in very different shapes. Mastering data layout is the first step to reshaping like a pro. 📐

What Wide Format Looks Like

In wide format, each category gets its own column, so one row holds many related values side by side.

       Jan  Feb  Mar
Alice   10   12   15
Bob      8    9   11

All lessons in this course

  1. Wide vs Long, and Tidy Data
  2. pivot_table for Cross-Tabs
  3. melt to Go Long
  4. stack, unstack, and MultiIndex
← Back to Data Science Academy