I have a dataframe data = pd.DataFrame({'date':['25 ugust 2014','14 Auust 2014','27 ugust 2014','18 Marc 2015','03 Jue 2014']})
It is currently an object dtype. I'd like to convert it to datetime format but I'm not able to do so as the strings in the months are dirty.
data['date'] = pd.to_datetime(data['date'], format = '%d %B %Y')
What will be the best and fastest way to clean up this data so that I can change it to date format? Will re.sub be appropriate?