I need to add a few characters to certain cells in the dataframe. When I print xx in the loop, the values are as desired. But when I print the entire dataframe, the values were unchanged:
for row in df['Time from AtoC']:
    if ':' not in row:
        xx = "00:" + row
#         print(xx)
        df.at['Time from AtoC'] = xx
    else:
        df.at['Time from AtoC'] = row
The results I get are
179 rows of data when I only had 100, and some of the values remained unchanged (without 00: in front).
 
    