Delivers MIL-004: the end of the second lecture and the main flow.
src/weather/export.py: create_scores_frame (from a dictionary) and export_frame (DataFrame.to_csv)
src/weather/__main__.py: python -m weather prints the results of both lectures; a file is written only with --export PATH; without the pandas extra the csv part still prints and the command exits 1 with a message on stderr
src/weather/constants.py: the lecture's students, scores, column names, the day and the message
tests/test_export.py, tests/test_main.py
Checks run locally (Python 3.13, Windows): pytest (39 passed), ruff check, ruff format --check, mypy (strict), doxygen Doxyfile (exit 0, no warnings); python -m weather and python -m weather --export out.csv run from an empty scratch folder: the first leaves it empty, the second leaves only out.csv.
Review: RC-012 (Go, mode: autonomous, not independent).
Delivers MIL-004: the end of the second lecture and the main flow.
- `src/weather/export.py`: `create_scores_frame` (from a dictionary) and `export_frame` (`DataFrame.to_csv`)
- `src/weather/__main__.py`: `python -m weather` prints the results of both lectures; a file is written only with `--export PATH`; without the `pandas` extra the csv part still prints and the command exits 1 with a message on stderr
- `src/weather/constants.py`: the lecture's students, scores, column names, the day and the message
- `tests/test_export.py`, `tests/test_main.py`
Checks run locally (Python 3.13, Windows): `pytest` (39 passed), `ruff check`, `ruff format --check`, `mypy` (strict), `doxygen Doxyfile` (exit 0, no warnings); `python -m weather` and `python -m weather --export out.csv` run from an empty scratch folder: the first leaves it empty, the second leaves only `out.csv`.
Review: RC-012 (Go, mode: autonomous, not independent).
Closes #17
Closes #18
Closes #19
Closes #20
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.
Delivers MIL-004: the end of the second lecture and the main flow.
src/weather/export.py:create_scores_frame(from a dictionary) andexport_frame(DataFrame.to_csv)src/weather/__main__.py:python -m weatherprints the results of both lectures; a file is written only with--export PATH; without thepandasextra the csv part still prints and the command exits 1 with a message on stderrsrc/weather/constants.py: the lecture's students, scores, column names, the day and the messagetests/test_export.py,tests/test_main.pyChecks run locally (Python 3.13, Windows):
pytest(39 passed),ruff check,ruff format --check,mypy(strict),doxygen Doxyfile(exit 0, no warnings);python -m weatherandpython -m weather --export out.csvrun from an empty scratch folder: the first leaves it empty, the second leaves onlyout.csv.Review: RC-012 (Go, mode: autonomous, not independent).
Closes #17
Closes #18
Closes #19
Closes #20