datetime to string with series in python pandas,dates.dt.strftime('%Y-%m-%d')