I’m working with a data frame and need to include additional columns(series) with some data validation of the original data. I’ve programmed most of them, but I don’t know how to program a validation such as below in python:
Test: The "Record Date" field must be completed with a valid date, in the format 'YYYY-MM-DD'.
I need to find a way to validate that and bring the results as True or False in a new column in the data frame. Is there any function to verify if a date is in a specific format like 'YYYY-MM-DD'?
Appreciate the help!