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 1000(0-999,1000-1999, 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 5 ncic numbers and create a bar chart of the count of those 5 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 18th at 11:59 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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!