Question: Code in Python (15 points) Write a function that accepts as input your data structure from Part 1 and a column of data (a single

 Code in Python (15 points) Write a function that accepts as

Code in Python

(15 points) Write a function that accepts as input your data structure from Part 1 and a "column" of data (a single variable name represented as a string) and reports the number of bad dates (impossible dates, poorly formated, etc). For example, September has no 31st day. If the record is not a date at all, such as the name "Potter", consider it a bad date by default. Test your function by calling it at least two times and show the output: once with the "date" column from the data and once with any other column

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!