Pandas dataframe styling – cool!

I always like to visualize data and see the detail if possible so it was with great joy that I stumbled across DataFrame.style this morning. Here is an example of how it helps us to visualize some Titanic survival rates by sex and passenger class:

Screen Shot 2018-08-23 at 18.17.51

The Pandas documentation itself is pretty comprehensive, but if you’re looking for a slightly friendlier introduction with examples then head over modeanalytics for a very nice article and walkthrough. Enjoy!


Comments

One response to “Pandas dataframe styling – cool!”

  1. […] is what it looks like (I also got to do Pandas dataframe styling to make the bad stuff stand out in […]

    Like