I have a python list of dates in the format of 2014-07-06 11:03:12
is there a way to change the seconds and minutes to 2014-07-06 11:00:00
in a nice way. My line of code for getting the dates in below
dates = [datetime.datetime.strptime (d, '%Y-%m-%d %H:%M:%S') for d in df.date] `2014-07-06 11:03:12` format