this is my code I did not put hour and seconds in my data but the result I got includes time, do you know if it is possible to remove the time?
input
fitness['Date']=pd.to_datetime(fitness['Date'])
result
1970-01-01 00:00:00.000000000 1979-09-09
1970-01-01 00:00:00.000000001 1979-09-09
1970-01-01 00:00:00.000000002 1979-09-09
1970-01-01 00:00:00.000000003 1979-09-09
1970-01-01 00:00:00.000000004 1979-09-09