Question: You are to create a Python program with the following characteristics: Menu driven program Properly commented You cannot use the Pandas or numpy library to
You are to create a Python program with the following characteristics:
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
DUE my Wednesday Oct th at : PM
You may not use the break command
You may not use the splt method.
Late submissions will receive a zero.
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
