Add read_rows(path) in src/weather/csv_reader.py: open the file with with, read it with csv.reader and return the rows as a list of lists of strings, header included, as the lecture does. The default path is the data file next to the module. Serves objective 2.
Phase: MIL-002
Add `read_rows(path)` in `src/weather/csv_reader.py`: open the file with `with`, read it with `csv.reader` and return the rows as a list of lists of strings, header included, as the lecture does. The default path is the data file next to the module. Serves objective 2.
Phase: MIL-002
Tirsvad
added this to the MIL-002: Read with the csv library milestone 2026-10-13 09:21:30 +02:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Add
read_rows(path)insrc/weather/csv_reader.py: open the file withwith, read it withcsv.readerand return the rows as a list of lists of strings, header included, as the lecture does. The default path is the data file next to the module. Serves objective 2.Phase: MIL-002