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!

One thought on “Pandas dataframe styling – cool!

Comments are closed.

Create a website or blog at WordPress.com

Up ↑

%d bloggers like this: