Jupyter Notebooks

Share the compute process with everyone

How to Install

pip3 install jupyter

How to Run

jupyter notebook

Uses

  • PDF books
  • Blog posts
  • Inline graphics
  • Multiple languages available via kernel (R, julia, fortran, etc)

Can share Jupyter notebooks via Google drive using Jupyter Drive

Example

specific tools inside of jupyter notebook


In [ ]:
%%%timeit
maths = list()
for x in range(10):
    maths.append(x**x)

In [ ]:
%%%timeit
maths = [x**x for x in range(10)]
# maths

We can make pretty graphs


In [1]:
import matplotlib.pyplot as plt
import math
import numpy as np
%matplotlib inline

In [4]:
t = np.arange(0., 5., 0.2)
plt.plot(t, t, 'r--', t, t**2, 'bs')


Out[4]:
[<matplotlib.lines.Line2D at 0x7f7007a645f8>,
 <matplotlib.lines.Line2D at 0x7f7007a64898>]

Interesting Projects