Question: Menu driven program Properly commented You cannot use the Pandas or numpy library to complete this assignment. Read data from a file the user supplies
Menu driven program
Properly commented
You cannot use the Pandas or numpy library to complete this assignment.
Read data from a file the user supplies
o For our example use crime.csv as you sample file
Options to include
o Display a Crime report that will list:
Count of crimes grouped by ncic code by etc
Count of all crimes by district
Count of all crimes by beat
Save this info into a JSON file as a dictionary with the Month as the filename eg: January.json
o Ask the user for a beat number and display all of the crimes not the count! for that beat.
o Ask the user for ncic numbers and create a bar chart of the count of those ncic codes
Ask the user for a title of the chart
Display the chart
Save the chart as a PNG file
o Quit the program
Submit the py file the PNG file, the JSON file and screen captures of each of the options executing
Comment on the codes and no break command please.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
