mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-10-25 09:34:00 +08:00
* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
806 B
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: