5 Jupyter Notebook Tips & Tricks to Improve your Data Science Workflow! @KeithGalli
5 Jupyter Notebook Tips & Tricks to Improve your Data Science Workflow!  @KeithGalli
Uploaded June 2022 | Updated November 2026, 3 hours ago
Visit brilliant.org/KeithGalli to get started learning STEM for free, and the first 200 people will get 20% off their annual premium subscription

In this video we walk through some of my favorite tips & tricks for doing data science with Jupyter Notebooks. Many of these tips have helped me become more efficient writing Python code for my data science projects.

Topics covered:
- Running bash commands from a jupyter notebook. You can use “!” in a code cell to run any terminal command that you want. You can also try using the “%” to execute magic lines. This includes some of the same bash commands that you might gravitate to as well as some Jupyter specific commands.
- The most useful shortcuts that I think you should know. Ctrl+enter to run a cell, shift+enter to run a cell and skip to the next, B to create new cells below, M to turn a cell to markdown, and several more. We will also look at find & replace in this section.
- Changing pandas default display settings (number of rows to display, columns, decimal points, etc.)
- Turning on OS alerts for running Jupyter Notebook cells. This is particularly useful if you have a long machine learning model training job going on and you want to know exactly when it finishes so that you can play around with the results.
- Creating slideshows within a Jupyter notebook!

Bonus topic:
- Changing your Jupyter Notebook theme! Monokai is a good one to use if you like dark-themes

Source code:
github.com/KeithGalli/Data-Science-Tips/tree/master/jupyter-notebook-tips

If you have any questions about these tips & tricks, or if you have additional recommendations, please let me know in the comments!

I hope you enjoyed this video! Please subscribe & give it a like if you did.

Resources:
- towardsdatascience.com/8-commonly-used-pandas-display-options-you-should-know-a832365efa95

Learn more about magic commands "%": ipython.readthedocs.io/en/stable/interactive/magics.html

-------------------------
Follow me on social media!
Instagram | instagram.com/keithgalli
Twitter | twitter.com/keithgalli
TikTok | tiktok.com/@keithgalli

-------------------------
Song at the end
good morning by Amine Maxwell soundcloud.com/aminemaxwell
Creative Commons — Attribution 3.0 Unported — CC BY 3.0
Free Download / Stream: bit.ly/2vpruoY
Music promoted by Audio Library youtu.be/SQWFdnbzlgI

-------------------------
If you are curious to learn how I make my tutorials, check out this video: youtu.be/LEO4igyXbLs

Practice your Python Pandas data science skills with problems on StrataScratch!
stratascratch.com/?via=keith

Join the Python Army to get access to perks!
YouTube - youtube.com/channel/UCq6XkhO5SZ66N04IcPbqNcw/join
Patreon - patreon.com/keithgalli

*I use affiliate links on the products that I recommend. I may earn a purchase commission or a referral bonus from the usage of these links.

This video was sponsored by Brilliant.org

-------------------------
Video timeline!
0:00 - Introduction & video overview
0:25 - Shoutout to this video’s sponsor, Brilliant.org!
2:11 - 1. Running terminal commands such as “pip” directly in a notebook
5:17 - Magic lines in Jupyter
6:11- 2. Shortcuts that you need to know for Jupyter!
9:25 - 3. Changing default Pandas options to improve results display
14:00 - 4. Setting up notifications for when a cell finishes execution
18:08 - 5. Creating slideshows from a IPython notebook!
23:00 - Conclusion (and link to bonus tip!)
5 Jupyter Notebook Tips & Tricks to Improve your Data Science Workflow!Lists & Tuples in Python - Beginner Python Tutorial #4Introduction to Neural Networks in Python (what you need to know) | Tensorflow/KerasHow to Schedule & Automatically Run Python Code!Can You Solve These 3 Data Analysis Puzzles? (AnalystBuilder & Python Pandas)Solving Leetcode Coding Interview Questions in Python!Solving Recurrences Example - Fibonacci (Recursion-Tree Method)Solving Real-World Data Science Interview Questions! (with Python Pandas)Solving real world data science tasks with Python Pandas!Solving Recurrences Example - Merge Sort (Master Method)Solving 100 Python Pandas Problems! (from easy to very difficult)Calculating Pre-Flop Poker Probabilities
Keith Galli |

5 Jupyter Notebook Tips & Tricks to Improve your Data Science Workflow!

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER