I found a similar thread but it dosent seem to work for me
Removing the timestamp from a datetime in pandas dataframe
say, My dataframe is of the following format:
i tried doing this wile saving the csv but it didnt work:
df3.to_csv('xy.csv',date_format = '%Y%m%d')
I also tried;
df3.datetime.strptime(df3, '%Y-%m-%d').date()
but it gives the
AttributeError: 'DataFrame' object has no attribute 'datetime'
I want to remove the timestamp throughout the dataframe, how do i go about doing this.thank you :)