I Have a column named "Date" which has values of the form '20041230'. How to convert this to 2004-12-30 in pandas.
I tried applying pd.to_datetime to the column, but I am getting garbage values attached to the date.
I Have a column named "Date" which has values of the form '20041230'. How to convert this to 2004-12-30 in pandas.
I tried applying pd.to_datetime to the column, but I am getting garbage values attached to the date.