codeburst

Bursts of code to power through your day. Web Development articles, tutorials, and news.

Follow publication

Member-only story

Jupyter Notebook Tricks for Data Science that Enhance your efficiency

--

Jupyter

Edited: Update on 2018-11-23
Added: Table of Content, %debug magic, nbdime for notebook diffing

I will cover these 4 topics in this article.

  1. Jupyter Notebook Extension
  2. Timing and profiling your function
  3. nbdime
  4. Bonus: Cython

Find the notebook that I used for this article here And exercise repository for nbdime (Use the “Sharing” Notebook)

As I am taking the great fast.ai course about deep learning, I learn a lot of neat things that can be applied to general software engineering. I am writing this article to summarize these skills and share with you (for myself).

1. Jupyter Notebook Extension

The standard Jupyter notebook is nice, but there are more extensions that people build and bring a lot of function together which can help your work.

Install Jupyter extension package

# Install Jupyterextension package
pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install — user
# Install configurator and enable configurator
pip install jupyter_nbextensions_configurator
jupyter

--

--

Published in codeburst

Bursts of code to power through your day. Web Development articles, tutorials, and news.

Responses (10)

Write a response