Question: Question 4 : fine _ per _ plates ( ) Starting in 2 0 0 4 Michigan moved to issuing plates with the format of

Question 4: fine_per_plates()
Starting in 2004 Michigan moved to issuing plates with the format of ABC1234. That got me thinking, how many vanity plate holders there are in our dataset? Count for me the number of Michigan vehicles with plates in the following formats that have received a ticket:
ABC1234
ABC123
123ABC
Vanity Plates (i.e. anything other than the aforementioned formats, including missing or NaN values)
Complete the function fine_per_plates() returning a dictionary. The dictinary should be formatted as follows:
plates_dict ={"ABC1234":the_number_of_vehicles,
"ABC123":the_number_of_vehicles,
"123ABC":the_number_of_vehicles,
"vanity":the_number_of_vehicles}

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 Databases Questions!