Interactive Demo
Reshaping Data: Melt vs Pivot
Reshaping Data: Melt vs Pivot is a free, interactive learning demo from the pandas documentation course on Lykke. It helps you build intuition for Pivot, Melt, Concat, Merge. Play with it directly in your browser — it features 2 buttons. This demo lives in the “Reshaping and Combining Datasets” section of the course.

How to use this demo
- Use the “Wide Format (Pivot)”, “Long Format (Melt)” buttons to trigger actions or reset the demo.
- Experiment freely — there's nothing to break, and every change is reversible.
What you'll explore
- Pivot
- Melt
- Concat
- Merge
- Long vs Wide format
Frequently asked questions
What does the Reshaping Data: Melt vs Pivot demo do?
This is great for human reading but hard for programmatic analysis. Reshaping Data: Melt vs Pivot lets you explore this hands-on instead of only reading about it.
What pandas documentation concept does Reshaping Data: Melt vs Pivot teach?
Advanced layout changes and merging multiple data sources into a single analysis-ready table. It focuses on Pivot, Melt, Concat, Merge, Long vs Wide format from the “Reshaping and Combining Datasets” section.
What can I control in Reshaping Data: Melt vs Pivot?
The “Wide Format (Pivot)”, “Long Format (Melt)” buttons run actions or reset the demo. Every change updates the visualization in real time, so you can see exactly how each variable affects the outcome.
How does Reshaping Data: Melt vs Pivot fit into the pandas documentation course?
Pandas is the definitive open-source Python library for high-performance data analysis and manipulation, centered around its powerful DataFrame and Series structures. This documentation course covers the entire ecosyste… This demo is the interactive piece for the “Reshaping and Combining Datasets” section. Open the full pandas documentation course wiki at https://www.getlykke.com/explore/public/pandas-documentation-fd56bdc9-3ee0-47fa-b411-17a802c549ef for notes, flashcards, quizzes and the other demos.
What will I understand better after using Reshaping Data: Melt vs Pivot?
You'll build intuition for Pivot, Melt, Concat, Merge, Long vs Wide format — and, crucially, see how they behave when you change the inputs, which is hard to get from a textbook or lecture on pandas documentation alone.
From the pandas documentation course
This interactive demo is part of the Reshaping and Combining Datasets section. Explore the full pandas documentation course wiki on Lykke — with notes, flashcards, quizzes and more interactive demos.
Open the pandas documentation course →