User Tools

Site Tools


jupyteripython_documentation

This is an old revision of the document!


Jupyter/IPython documentation/usage tips (work in progress)

Introduction

The Jupyter project provides open source, interactive data science and scientific computing across over 40 programming languages. It used to be called IPython (just changed its name recently to reflect the fact that it now supports other programming languages other than python)

The Jupyter notebook is a web application that allows you to create and share documents that contain live code, equations, visualizations and explanatory text. Uses include: data cleaning and transformation, numerical simulation, statistical modeling, machine learning and much more.

We will use the Jupyter notebook for most of our Python Problem Sets.

Getting started with the Jupyter/IPython notebook (work in progress)

In the Virtual Machine, open the Jupyter Notebook desktop shortcut. That will open Firefox with a list of the directories/files that Jupyter can access. Select example_notebooks and then intro_to_jupyter_notebook.ipynb.

Follow the instructions in the example notebook. Our first recitation (Friday 09/11) will cover how to get started with the course VM and the Jupyter notebook.

Interesting example Jupyter notebooks

  • Official IPython example notebooks. You can find these in your VM in example_notebooks/Learning/Official_IPython_examples/Notebook/Index.ipynb. This is a good resource to learn how to use the Jupyter notebook
  • Nbviewer: Nbviewer renders Jupyter notebooks (.ipynb files) as static web pages that you can see online (although you lose the ability to execute the code). It can display .ipynb notebooks online from people's Github repositories and other places.
  • The official gallery of interesting IPython Notebooks contains hundreds of interesting examples
  • Peter Norvig's IPython notebooks

Peter Norvig's IPython notebooks

jupyteripython_documentation.1441941435.txt.gz · Last modified: 2015/09/10 23:17 by efernan