Join Jonathan Fernandes for an in-depth discussion in this video Creating your own colormaps, part of pandas Essential Training.
- [Instructor] Creating your own colormap.…Which of these two figures provides a more effective plot?…This one versus this one.…You might recognize the plot on the left…as being the solution from chapter eight.…With colormaps we can create our own colors.…Let's see how we this in our Jupyter notebook.…I'm going to copy the solution from chapter eight…and let's see if we can visualize this more effectively.…
I'm going to talk you through the solution very quickly…to remind you what we did.…And then we look to see how we can…plot this more effectively.…I'm going to use comments or this hash symbol…to break this solution into multiple steps.…So the question was, "Plot the five athletes…"who have won the most gold medals…"over the history of the Olympics.…"When there is a tie, consider the number of silver medals…and then bronze medals."…So firstly we're going to group by the athlete medals.…
And we can see that we've grouped by the athlete…and the type of medal that they've won.…We then unstack that to get a table…
- 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.