π§βπ« Week 03 Lecture
Loops and functions in Python
Last updated: 13 October 2024 12pm
Many people are struggling to grasp the notion of lists and dictionaries. Because these are essential to a good understanding of the concept of vectorised operations we will learn with the pandas library, I rewrote the W03 Lecture to act as a recap of the Python concepts weβve been exploring since π» W01 Lab.
π Preparation
- Visit GitHub and create an account if you donβt have one yet.
- π‘ Throughout this course we will encourage you build a professional coding portfolio on GitHub, so it is important to choose a professional username for your account.
- Try to complete the π W03 Formative Exercise. Even if you donβt manage to go too far, it will help you come well-prepared to the lecture.
π Schedule
πLocation: Thursday 17 October 2024, 4 pm - 6 pm at CLM.5.02
I will use the lecture to work on a solution to π W03 Exercise. There will be a short break near 5pm.
π Lecture Notes
π TAKE NOTE:
You wonβt find βslides for studyingβ in this course. I do use slides in my lectures, but they serve as a visual aid to help me organise my thoughts. I tend to post those slides after the lecture on Slack, along with other links and resources.
Let me know if you want me to add notes on any specific topic or expand on something you might want to revisit later.
Click on the button below to download a final version of the notebook I started to build on the lecture.
PS: I am putting together a few tips on how to write functions and loops in Python based on questions I got from you and the key things I mentioned during the lecture. Once this material is ready, I will add it here but some of it will go to the Python Guides page. In the meantime, you can check out the lecture recording (on Moodle).