✅ Week 01, Day 02 - Lab Solutions
Working with CSV/JSON and collecting weather data
🎯 Goal
This document provides the complete, commented solutions for the W01D02 lab. The goal is to provide a clear, step-by-step walkthrough of how to approach the problem, from API request to final analysis.
This page contains the solutions for the lab completed on Day 02. The Python script below has been heavily commented to explain not just what the code does, but why each step is important for a reproducible and rigorous analysis.
Use this as a reference to consolidate your understanding of:
- Making structured API calls
- Saving and loading data (JSON/CSV)
- Converting API responses to pandas DataFrames