Open and use a Jupyter notebook

Natalie Nelson, University of Florida
Author Profile
Initial Publication Date: July 27, 2016

Introduction

All data analysis will be performed using a cloud-based Jupyter Notebook that was created for this assignment. The Jupyter Notebook is accessed through GitHub from the command line.

Conceptual Outcomes

Students will be:

  • Aware of cloud-based platforms used by programmers to share data analysis tools
  • Able to analyze time series data using simple descriptive statistics

Practical Outcomes

Students will be:

  • Familiar with using the command line and accessing GitHub repositories
  • Able to analyze data using Jupyter notebooks

Time Required

2-3 hours

Computing/Data Inputs



Computing/Data Outputs

Hardware/Software Required

Internet browser

Instructions

  1. Open the Terminal window and navigate to the folder where you'd like the directory from GitHub to be copied to. You can do this with:
  2. Once you've changed directories, enter:
  3. Copy your Data folder into the LSJR_Jupyter_project folder. This folder should be structured as follows:
  4. Return to your Terminal window and move to your LSJR_Jupyter_project folder by entering:
  5. Open Jupyter by entering:
  6. Wait for Jupyter to open in your browser. This might take a minute or two. Once Jupyter opens in your browser, verify that you are in the LSJR_Jupyter_project directory.
  7. Click on "Analyzing DO data across a fresh-estuarine gradient of the LSJR using Python.ipynb" to open the Jupyter notebook.
  8. You need to start by clearing all output. At the top of the page, go to Cell > All Output > Clear
  9. You're ready to use the Jupyter notebook! To execute the code, click in a code block and enter Shift+Enter. Or, if you'd like to run the code all at once, you can go to Cell > Run All.

Additional Activities and Variants

Related Steps