Files
developer-roadmap/roadmaps/python-data-analysis/content/reshaping@ACr__YweG2xOAf56FK8tE.md
Arik Chakma 274082fd77 feat: clean roadmap content and sync scripts (#10181)
* refactor: clean to roadmap content

* refactor: move shared helpers into scripts/lib
2026-07-28 05:45:17 +06:00

806 B

Reshaping

Reshaping transforms the structure of a DataFrame without changing its data. pivot() and pivot_table() convert long-format data to wide format. melt() does the reverse, converting wide to long. stack() and unstack() move index levels to columns or vice versa. Reshaping is often needed to prepare data for specific visualizations or models.

Visit the following resources to learn more: