Edit nilai baris panda

for index, row in ds.iterrows():
  if ds.loc[index, 'isDead'] != 'Y':
    ds.loc[index, 'isDead'] = 'N'
Fantastic Flatworm