Bearbeiten Sie den Pandas -Zeilenwert
for index, row in ds.iterrows():
if ds.loc[index, 'isDead'] != 'Y':
ds.loc[index, 'isDead'] = 'N'
Fantastic Flatworm
for index, row in ds.iterrows():
if ds.loc[index, 'isDead'] != 'Y':
ds.loc[index, 'isDead'] = 'N'