pandas dataframe incapable de modifier les valeurs
for index, row in df.iterrows():
if row['Freq'] == 20:
df.loc[index, 'TOC'] = True
Clear Copperhead
for index, row in df.iterrows():
if row['Freq'] == 20:
df.loc[index, 'TOC'] = True