Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: THEend8_
Coursework III (60% of module)
1 Coursework Description
This coursework is composed of two parts. You have been given the flexibility to structure the
code in the way that you think is best following the principles of re-usability, maintainability,
information hiding and clarity.
Part 1 (30 Marks)
You should submit a single .ipynb file containing a working version of all the tasks. The name
of this file should be your library number (e.g. 123456789.ipynb, where 123456789 is an example
library number). In case you want to import any packages apart from pandas, matplotlib, numpy,
math and seaborn, you should contact the module leaders first.
A newly appointed health minister has heard reports that there are some hospitals in England
where the average Length of Stay (LoS) of patients is over 1 week, whereas in many others the
average LoS is under 1 week. You will need to download the file patients.csv from Moodle. The
file contains the following data for patients admitted to one of five NHS hospitals in England:
Patient ID String
Admission type String
Age Integer
Height Integer
Weight Integer
Hospital String
LoS in hours Integer