I'm trying to convert a datetime column back to a string in Pandas dataframe.
the syntax I have so far is:
all_data['Order Day new'] = dt.date.strftime(all_data['Order Day new'], '%d/%m/%Y')
but this returns the error:
descriptor 'strftime' requires a 'datetime.date' object but received a 'Series'.
Can anyone tell me where I'm going wrong.