December 2018
Beginner to intermediate
682 pages
18h 1m
English
Like most large Python libraries, pandas has many different ways to accomplish the same task--the differences usually being readability and performance. Pandas contains a DataFrame method named melt that works similarly to the stack method described in the previous recipe but gives a bit more flexibility.