Daily Dose of Data Science

Share this post

Stop Analysing Raw Tables. Use Styling Instead!

www.blog.dailydoseofds.com

Stop Analysing Raw Tables. Use Styling Instead!

Avi Chawla
Nov 16, 2022
2
Share
Share this post

Stop Analysing Raw Tables. Use Styling Instead!

www.blog.dailydoseofds.com

Jupyter is a web-based IDE. Thus, whenever you print/display a DataFrame in Jupyter, it is rendered using HTML and CSS.

This means you can style your output in many different ways.

To do so, use the Styling API of Pandas. Here, you can make many different modifications to a DataFrame's styler object (𝗱𝗳.π˜€π˜π˜†π—Ήπ—²). As a result, the DataFrame will be displayed with the specified styling.

Styling makes these tables visually appealing. Moreover, it allows for better comprehensibility of data than viewing raw tables.

Read more here: Documentation.

Share this post on LinkedIn: Post Link.

Thanks for reading Daily Dose of Data Science! Subscribe for free to learn something new and insightful about Python and Data Science every day. Also, get a Free Data Science PDF (250+ pages) with 200+ tips.


I like to explore, experiment, and write about data science concepts and tools. You could connect with me on LinkedIn and read my work on Medium.

2
Share
Share this post

Stop Analysing Raw Tables. Use Styling Instead!

www.blog.dailydoseofds.com
Previous
Next
Comments
Top
New
Community

No posts

Ready for more?

Β© 2023 Avi Chawla
Privacy βˆ™ Terms βˆ™ Collection notice
Start WritingGet the app
SubstackΒ is the home for great writing