From the course: Practical Python for Time Series Analysis
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Heat matrix and box plot: When to use which? - Python Tutorial
From the course: Practical Python for Time Series Analysis
Heat matrix and box plot: When to use which?
- [Instructor] This heat matrix is a ranking that highlights which are the technologies that has generated the most energy throughout the months in California. They are sorted based on the average column in the last position, while the colors are darkest based on the most significant values inside each one of the rows. This heat matrix can be interpreted in two ways, looking at the ranking with the sorted technologies or inside each one of the technologies, which is the month that generates the most energy. To produce it, let's go back up at the beginning and use the function of the pivot table. In this case, we are going to use the column for the month. In the index, we have the technologies. The numerical column remains the same and the function to aggregate is the average. We execute. There, we get the results. However, to see them all, we will use the style. Then as you learn to make the table more compact, we will…