Author: Richard Foltyn, University of Glasgow
This introductory course consists of several units. Each unit corresponds to one interactive Jupyter notebook, which is also available as a static PDF file. Alternatively, you can download the entire course as a single PDF.
| Unit | Title | Google Colab | |
|---|---|---|---|
| 1 | Language and NumPy basics | ||
| 2 | Control flow and list comprehensions | ||
| 3 | Reusing code - Functions, modules and packages | ||
| 4 | Plotting | ||
| 5 | Advanced NumPy | ||
| 6 | Handling data with pandas | ||
| 7 | Data input and output | ||
| 8 | Random number generation and statistics | ||
| 9 | Introduction to unsupervised learning | ||
| 10 | Introduction to supervised learning | ||
| 11 | Solving models for macroeconomics and household finance | ||
| 12 | Error handling (optional) |
| Date/Time | Activity | Description |
|---|---|---|
| Monday, 2023-05-22, Room 305AB | ||
| 9:00 - 12:15 | Lecture 1 | Introduction & Units 1-3 |
| 13:30 - 15:00 | Lab 1 | Exercises for material covered in lecture 1 |
| Wednesday, 2023-05-24, Room 305AB | ||
| 9:00 - 12:15 | Lecture 2 | Units 4-5 |
| 13:30 - 15:00 | Lab 2 | Exercises for material covered in lecture 2 |
| Friday, 2023-05-26, Room 305AB | ||
| 9:00 - 12:15 | Lecture 3 | Units 6-7 |
| 13:30 - 15:00 | Lab 3 | Exercises for material covered in lecture 3 |
| Thursday, 2023-06-01, Room 305AB | ||
| 9:00 - 12:15 | Lecture 4 | Units 8-10 |
| 13:30 - 15:00 | Lab 4 | Exercises for material covered in lecture 4 |
| Friday, 2023-06-02, Room 305AB | ||
| 9:00 - 12:15 | Lecture 5 | Unit 11 |
| 13:30 - 15:00 | Lab 5 | Exercises for material covered in lecture 5 |
Detailed slides on how to set up your working environment are available here.
This material is licensed under a
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License,
except for the data files contained in the data/ folder, which
fall under the terms imposed by the original content creators.