Skip to content

brown-ccv/ccv-bootcamp-python-2023

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CCV Bootcamp Python

This repository contains Jupyter notebooks for a workshop by the for the [CCV Bootcamp] (https://docs.ccv.brown.edu/bootcamp-2023/schuedule/wednesday-5-may-1), around an introduction to Python and data wrangling with Python.

Slides for Python Programming Basics

Authors

Ellen Duong, George Dang, and John Holland

It was adapted from previous CCV's annual summer Python workshop and Bootcamps.

Contact

For assistance, use the CCV-Share Slack channel for today's workshop: https://ccv-share.slack.com/archives/C0562DCNCD7

You may need to sign up here first: https://ccv-share.slack.com/signup#/

Get Started with the project

This workshop will run on Jupyter Notebooks. If you're using Brown University Open On Demand, you need to:

  • clone the repository using the "OSCAR Shell Access" app
  • load the notebooks using the "Basic Jupyter Notebook with Anaconda" app

Clone the Repo

Navigate to ood.ccv.brown.edu and log in.

Select the Oscar Shell Access App: On ood.ccv.brown.edu, under the heading "Pinned Apps", selection: "OSCAR Shell access, System Installed App"

Then run the following commands. First, load the necessary modules:

module load "git/2.29.2"

Clone the repository using the command:

git clone https://github.com/brown-ccv/ccv-bootcamp-python-2023

Check you can enter the repository directory using the command:

cd ccv-bootcamp-python-2023

Open the repository in Jupyter Notebook

To open the Jupyter Notebook in OpenOnDemand, first navigate to ood.ccv.brown.edu.

There select the Jupyter Notebook app: On ood.ccv.brown.edu, under the heading "Default GUIs", selection: "Basic Jupyter Notebook, System Installed App"

You should make the following selections:

  • Oscar Anaconda Module: anaconda/2022.05
  • Conda env: /gpfs/data/datasci/bootcamp-python/venv
  • Modules: Leave empty
  • Extra Jupyter args: Leave empty
  • Number of cores: 1
  • Memory per job: default
  • Number of GPUs: 1 (this will be ignored)
  • Condo account: Leave empty
  • Partition: Leave empty
  • Reservation: Leave empty
  • Number of hours: 8

Then click the "Launch" button. on ood.ccv.brown.edu, launch button

On the next page, you will see a "Basic Jupyter Notebook" card with the current status, and once the notebook has been started, you can click on "Connect to Jupyter" to launch the Jupyter session. on ood.ccv.brown.edu, a card displaying a running "Basic Jupyter Notebook" with the "Connect to Jupyter" button visible

In the notebook interface you can navigate to the ccv-bootcamp-python-2023 directory and access the session notebooks.