I would like to add a new column (named 'sick') filled with "yes" in a DataFrame (df).
I tried the following code but this is not working:
df['sick']=print(df['sick']=="yes")
Do you have any suggestions please?
I would like to add a new column (named 'sick') filled with "yes" in a DataFrame (df).
I tried the following code but this is not working:
df['sick']=print(df['sick']=="yes")
Do you have any suggestions please?