From the course: pandas Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Creating your own colormaps

Creating your own colormaps - pandas Tutorial

From the course: pandas Essential Training

Start my 1-month free trial

Creating your own colormaps

- [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…

Contents