Discover more from Daily Dose of Data Science
Declutter Your Jupyter Notebook Using Interactive Controls
A lesser-known and underrated way to boost your data analysis.
While using Jupyter, one often finds themselves in situations where they repeatedly modify a cell and re-rerun it.
This makes data exploration:
What’s more, the notebook also gets messy and cluttered.
Instead, leverage interactive controls using IPywidgets.
A single decorator (
@interact) allows you to add:
text fields, and more.
As a result, you can:
explore your data interactively
speed-up data exploration
avoid repetitive cell modifications and executions
organize your data analysis.
A quick demo is shown below:
👉 Over to you: What are some other ways to elegantly explore data in Jupyter that you are aware of?
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 (350+ pages) with 250+ tips.
👉 Tell the world what makes this newsletter special for you by leaving a review here :)
👉 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!
👉 Sponsor the Daily Dose of Data Science Newsletter. More info here: Sponsorship details.
Find the code for my tips here: GitHub.