程序代写代做代考 Number of Doctors 1

Number of Doctors 1
The table below is a partial capture of number of active doctors in Singapore for the
10-year period from 2010 to 2019, ordered by category.
The complete table is available on the LMS as numberdoctors_dataset.pdf and as numberdoctors-dataset.csv.
Year
Public Specialist
Public Non-Specialist
Private Specialist
Private Non-Specialist
2010
1996
3184
1151
2159
2011
2165
3456
1229
2220
2012
2342
3789
1293
2222
2013
2511
4150
1351
2327
2014
2829
4501
1411
2379
2015
3052
4857
1470
2444
In this project, you are required to:
• Initialise appropriate lists with the given (full) data
• Write a Python program that shows four different menu options (and to
include a Quit option).
Based on the user selection, your program shall
1. Displaythenumberofdoctorsbycategoryfortheyear2017.
2. Ifauserselectsacategory(e.g.PrivateSpecialist)anda5-yearspan
[2010 – 2014], [2015 – 2019],
a) display the average number of doctors in the 5-year span.
b) display the minimum number of doctors in that period and the
year that the minimum occurs.
3. Forauserselectedcategory,displaythehighestpercentagechange,
year on year, and the year that it occurs.
4. Makethefollowinglineplots
a) Total Specialists (Public + Private) vs Year b) Total Active Doctors vs Year
You will be awarded more marks if you have the following features in your program:
• Retrieve the list data from the CSV file for direct processing in your program
• Use of numpy or 2D lists/arrays as needed
• The plots of the data with properly labelled titles, labels and legends
• Save and use all functions (and list data if not retrieving from CSV file directly) in a file module called data.py