I have a pandas.DataFrame called df which has an automatically generated index, with a column dt:
pandas.DataFrame
df
dt
df[\'dt\'].dtype, df
A method I've used in the past to accomplish this goal was the following (quite similar to what you're already doing, but thought I'd throw it out there anyway):
df['dt2'] = df['dt'].apply(lambda x: x.replace(minute=0, second=0))