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 11All lessons in this course
- Wide vs Long, and Tidy Data
- pivot_table for Cross-Tabs
- melt to Go Long
- stack, unstack, and MultiIndex