1 of 12

Jupyter Notebooks:�Top Ten Tips for Using the �Free and Open Source �Web Application

Simon Worthington - Twitter @mrchristian99, Open Science Lab�Hannover, 4. July 2019

SLIDES�http://linkme2.net/1go

Seite 1

2 of 12

Some things about Jupyter Notebooks

Why so popular?:�Democratising Data Science

Because you can code, �make charts, share and �reuse them on the web

�http://linkme2.net/1go

Predication:In the near future all papers will be written in Jupyter Notebooks (like) authoring environments

  • “reproducibility” as in independent people analyzing the same data
  • peer review of data and research

Decision Tree: �Jupyter Notebooks

Should I use Jupyter to easily organise, clean and visualise data

Yes

Seite 2

3 of 12

1. What is Jupyter Notebooks

Jupyter Notebooks are a way in which you can write and execute code in the browser

‘Jupyter Notebooks in Higher Education’ - GenR

https://genr.eu/wp/jupyter/

SLIDES�http://linkme2.net/1go

Image: Illustration from A Personal Computer for Children of All Ages. ACM, Boston, Alan Kay, 1972. http://www.vpri.org/pdf/hc_pers_comp_for_children.pdf.

Seite 3

4 of 12

2. Interactive diagrams

SLIDES�http://linkme2.net/1go

Seite 4

5 of 12

3. Binder and Notebook Viewer

SLIDES�http://linkme2.net/1go

Seite 5

6 of 12

4. The basics controls

  • Cells have to run in sequence
  • Run
  • Reset Kernel

https://github.com/binder-examples/conda

SLIDES�http://linkme2.net/1go

Seite 6

7 of 12

5. A research paper in Jupyter

  • Peer review of research

  • Paper on Arxiv
  • Experiments and figures as MyBinder

SLIDES�http://linkme2.net/1go

Image: Stephan Rasp @raspstephan 3 July 2019

https://mobile.twitter.com/raspstephan/status/1146325984267898881https://github.com/raspstephan/Lorenz-Online

https://arxiv.org/abs/1907.01351 Attribution 4.0 International (CC BY 4.0)

Seite 7

8 of 12

6. Jupyter Notebook as Binder slide show 7. Create Repository

SLIDES�http://linkme2.net/1go

Image: intro-to-binder, Chris Holdgraf, Apache License 2.0

https://github.com/binder-examples/zero-to-binder

Seite 8

9 of 12

8. Jupyter Books

SLIDES�http://linkme2.net/1go

Image:Jupyter Books https://jupyter.org/jupyter-book/intro.html BSD 3-Clause "New" or "Revised" License

Seite 9

10 of 12

9. Democratising Data Science

SLIDES�http://linkme2.net/1go

Image and Jupyter Notebooks: Машинное обучение для людей https://vas3k.ru/blog/machine_learning/ �Machine Learning for All - Demo | Univariate Linear Regression

https://github.com/trekhleb/homemade-machine-learning MIT License

Seite 10

11 of 12

10. Resources

SLIDES�http://linkme2.net/1go

Some Jupyter Notebook learning resources on Zotero http://linkme2.net/1gp

Seite 11

12 of 12

Thank you!

Contact details:

Simon Worthington Simon.Worthington@TIB.eu @mrchristian99

SLIDES�http://linkme2.net/1go

Creative Commons Namensnennung 3.0 Deutschland http://creativecommons.org/licenses/by/3.0/de

Seite 12