This repository contains the notebooks for the UCL CEGE Introduction to Python workshop, run by Dr Tim Hillel.
The notebooks are designed to introduce the fundamentals of coding in Python, and make you familiar with three commonly used libraries:
- numpy for handling arrays (similar to MATLAB),
- matplotlib for plotting and visualising data, and
- pandas for handling data tables (similar to Excel)
The repository contains two versions of the notebooks. In the exercises folder, you will find versions of the notebooks with cells left blank for you to work on. The solutions folder then contains the completed notebooks, so you can use them if you are stuck, or as a reference after the workshop.
If you would like to run the notebooks on your local machine, and have not already installed Python, we would recommend installing Anaconda Python.
You can then launch jupyter lab, either from the Anaconda user interface, or the terminal.
The notebooks can be run in your browser using Binder.
Note, the notebooks can take a while (5 minutes) to load, so please load the link whilst you are waiting.