Pandas DataFrame tidak dapat mengubah nilai

for index, row in df.iterrows():
    if row['Freq'] == 20:
        df.loc[index, 'TOC'] = True
Clear Copperhead