Daily Dose of Data Science

Share this post

Enrich The Default Preview of Pandas DataFrame with Jupyter DataTables

www.blog.dailydoseofds.com

Discover more from Daily Dose of Data Science

High-quality insights on Data Science and Python, along with best practices — shared daily. Get a 550+ Page Data Science PDF Guide and 450+ Practice Questions Notebook, FREE.
Over 36,000 subscribers
Continue reading
Sign in

Enrich The Default Preview of Pandas DataFrame with Jupyter DataTables

Don't print raw DataFrames.

Avi Chawla
Jun 3, 2023
15
Share this post

Enrich The Default Preview of Pandas DataFrame with Jupyter DataTables

www.blog.dailydoseofds.com
1
Share

After loading any dataframe in Jupyter, we preview it. But it hardly tells anything about the data.

One has to dig deeper by analyzing it, which involves simple yet repetitive code.

Instead, use Jupyter-DataTables.

Jupyter Datatables demo

It supercharges the default preview of a DataFrame with many common operations.

This includes:

  • sorting

  • filtering

  • exporting

  • plotting column distribution

  • printing data types,

  • pagination, and more.

Check it out here: GitHub.

👉 Over to you: What are some other enriched ways to preview DataFrames in Jupyter?

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.


👉 Read what others are saying about this post on LinkedIn and Twitter.

👉 Tell the world what makes this newsletter special for you by leaving a review here :)

Review Daily Dose of Data Science

👉 If you liked this post, don’t forget to leave a like ❤️. It helps more people discover this newsletter on Substack and tells me that you appreciate reading these daily insights. The button is located towards the bottom of this email.

👉 If you love reading this newsletter, feel free to share it with friends!

Share Daily Dose of Data Science


Find the code for my tips here: GitHub.

I like to explore, experiment and write about data science concepts and tools. You can read my articles on Medium. Also, you can connect with me on LinkedIn and Twitter.

15
Share this post

Enrich The Default Preview of Pandas DataFrame with Jupyter DataTables

www.blog.dailydoseofds.com
1
Share
Previous
Next
1 Comment
Share this discussion

Enrich The Default Preview of Pandas DataFrame with Jupyter DataTables

www.blog.dailydoseofds.com
Sindhoora
Jul 23

Hi .. Thanks for sharing this wonderful idea.

I am trying to use this but getting the below error.

CommError: Comms haven't been initialized properly.. HINT: Try reloading <F5> the window.

Please help me how to resolve this.

Expand full comment
Reply
Share
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