Answers for "edit pandas row value"

0

edit pandas row value

for index, row in ds.iterrows():
  if ds.loc[index, 'isDead'] != 'Y':
    ds.loc[index, 'isDead'] = 'N'
Posted by: Guest on January-31-2022

Python Answers by Framework

Browse Popular Code Answers by Language