Data Project: Validate and Summarise Study Minutes
Unit ID: M08-U08 Estimated active time: 55-75 minutes
Use the supplied fictional study_minutes.csv. Rows represent six learners and columns represent four weeks.
Required work
- Load only the four numeric columns.
- Confirm shape
(6, 4), numeric dtype, finite values, and range0through180. - Preserve the loaded source array.
- Calculate totals per learner and means per week.
- Select learners with totals of at least 180 minutes.
- Convert minutes to hours with vectorised division.
- Apply a four-value weekly adjustment through broadcasting to a working copy.
- Prove that the source array did not change.
Expected evidence
- learner totals:
[180, 150, 235, 100, 250, 180]; - weekly means: approximately
[40.0, 43.33, 48.33, 50.83]; - qualifying learner indices:
[0, 2, 4, 5]; and - final message:
MODULE 8 PROJECT: PASS.
Explain the result shapes and one decision about copies or views.
