Join Jonathan Fernandes for an in-depth discussion in this video Learning heatmaps, part of pandas Essential Training.
- [Instructor] Data Visualizations.…Using the Olympic data set…we have used so far in this course,…let's say you wanted to present a summary…of the total medals won by participating countries…in the 2008 Beijing Olympics.…Which of these two do you find more intuitive and readable?…I hope you'll agree with me…that the heatmap is far more intuitive and helpful.…Let's look to see how we can create these…in our Jupiter Notebook.…
Because we're going to be using Seaborn,…let's import Seaborn…as sns.…What we want here are all the medals…won in the 2008 Olympics.…So, oo.Edition…equals 2008.…Let's store that in the data frame Last Olympics.…
Now we have in our data frame LO,…all of the medals won by the athletes…in the 2008 Beijing Olympics.…I want to group by the countries, which is the NOC,…and the medals won.…I do a size off of that.…We can see that we've got a group by object…sorted alphabetically by the different countries…and the medals won.…Let's unstack this…with medal,…and we'll fill value…with zero.…
Let's look at the result of that.…
- Working with plots
- Boolean indexing
- String handling
- Grouping data
- Creating your own colormaps
Skill Level Intermediate
1. Technical Setup
2. Series and DataFrames
3. Data Input and Validation
4. Basic Analysis
5. Basic Plotting
9. Data Visualizations
Next steps1m 1s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.