Ambiguous dates
You have a DataFrame containing a subscription_date
column that was collected from various sources with different Date formats such as YYYY-mm-dd
and YYYY-dd-mm
. What is the best way to unify the formats for ambiguous values such as 2019-04-07
?
This exercise is part of the course
Cleaning Data in Python
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
