I have a column in a dataframe with multiple date formats that need to be converted to datetime.
date amount
September 2018 15
Sep-18 20
The output should look like
date amount
2018-09-01 15
2018-09-01 20
Using pd.to_datetime(df['Month']) returns the error...
OutOfBoundsDatetime: Out of bounds nanosecond timestamp: 1-09-18 00:00:00