research / code
  • Notebook practice
  • Git practice
  • Lessons & materials

Lab Code Practice

Run and improve a Python notebook, reproduce the result, and use Git to share a change with your lab.

Start notebook practice

The first exercise takes about 8 minutes. Basic Python is enough, and everything runs in your browser.

Exercises

  1. Run notebook cellsFind out why changing one cell can leave a result out of date.
  2. Extract a Python functionMove a filter into a helper file and check that the results match.
  3. Change a settingUse a configuration file to rerun the analysis with a different threshold.
  4. Reproduce a figureRun from a fresh Python session to see what a labmate would get.
  5. Practice GitChoose what goes into a commit, then practice branches and review.
Lessons & materials Facilitator schedule

Research / Code

 

Workshop exercises use synthetic data.