π₯οΈ Week 03 Lecture
Understanding File Systems, File Formats, and Version Control
π Logistics
Time and Location: Thursday, 16 October 2025, 16:00 - 18:00, CLM 5.02
This is our third live session together. By now, you should have completed the π Week 03 Practice with the DataQuest lessons on dictionaries, if/else statements, and for loops.
π Preparation
- Complete the π W03 Practice (DataQuest lessons)
- Review Python control flow: if/else statements and for loops
- Review dictionaries and nested data structures from last week
- Have your GitHub account ready (you created this in W01)
π£οΈ Lecture Overview
- Operating systems and file systems: understanding how your computer organises files
- Absolute vs relative paths: why this matters for reproducible code
- Environment variables: the hidden settings that shape your coding environment
- File formats in practice: when to use JSON vs CSV
- Live demo: collecting API data and saving to files
- Interactive discussion: sharing discoveries and challenges from W03 Practice
- After the break: setting up Git and GitHub for version control
- Creating your first personal repository:
my-ds105a-notes
π¬ Lecture Slides
Use keyboard arrows to navigate. Select the slides below or view fullscreen.
Or download the slides directly as a PDF:
File I/O Demonstration: During the lecture, weβll work through a complete example of fetching weather data from an API, saving it to both JSON and CSV formats, and reading it back. This demonstrates why file formats matter and how to choose the right one for your data.
Git and GitHub Setup: In the second hour, youβll create your first personal Git repository. This is where youβll store your lecture notes and practice code. Understanding the difference between Git (version control software) and GitHub (online platform) is essential for collaborative data science work.
π Appendix
PostβLecture Actions
- Review todayβs lecture slides
- Skim the π» W03 Lab instructions
- Make sure your
my-ds105a-notesrepository is set up - Post questions in
#helpon Slack
Useful Links
- π W03 Practice
- 4οΈβ£ Git & GitHub Guide
GitHub
Open-Meteo API
Using Nuvolos- π Syllabus
Looking Ahead
- Next week: Your first formal project using GitHub Classroom
- W04 Practice: Collecting 20 years of weather data and counting heatwaves
- Key skill: Combining control flow with file I/O for real data analysis
