pandas col rename

# We are going to reformat the columns - to loose the "full time"
col_rename={}
for c in df_fail_pvt.columns:
    col_rename[c]=c.strftime("%Y-%m-%d %H")
df_fail_pvt.rename(index=str,columns=col_rename)