Lab Code Practice
Run and improve a Python notebook, reproduce the result, and use Git to share a change with your lab.
Start notebook practiceThe first exercise takes about 8 minutes. Basic Python is enough, and everything runs in your browser.
Exercises
- Run notebook cellsFind out why changing one cell can leave a result out of date.
- Extract a Python functionMove a filter into a helper file and check that the results match.
- Change a settingUse a configuration file to rerun the analysis with a different threshold.
- Reproduce a figureRun from a fresh Python session to see what a labmate would get.
- Practice GitChoose what goes into a commit, then practice branches and review.