pandas dataframe infer date code example
Example: date parser python pandas
import pandas as pd
values = {'dates': ['02Sep2019','13Sep2019','21Sep2019'],
'status': ['Opened','Opened','Closed']
}
df = pd.DataFrame(values, columns = ['dates','status'])
df['dates'] = pd.to_datetime(df['dates'], format='%d%b%Y')
print (df)
print (df.dtypes)