Using Jupyter notebooks with Anaconda

Jupyter is a popular data science environment, and Jupyter notebooks (such as the notebook this post was written with) are a great way to create and share great data science with inline documentation (using Markdown syntax).

Jupyter is capable of running kernels in many different programming languages, but in this post we're focussed just on Python.

Installing Anaconda

  1. Download Anaconda for your operating system from the Anaconda website. For best compatibility with modern data science packages, I suggest Python 3.6 version or newer.
  2. Run the downloaded installer and follow the prompts.

Launching Jupyter

  1. Run the following command to launch the Jupyter environment in your current directory: jupyter notebook
  2. By default, this will open the web interface in your default web browser, and by default at http://localhost:8888/.
  3. Now you can select an existing .ipynb file from the file navigator to open it, or create a new notebook.
In [1]: