Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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 columnStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started