I am using a condition statement like below. It gives an error. How to fix this?
Also, there was no any column in df as X. I created it as below.
df["X"] == "" if df["Score"] <= 0.025 : df["X"] == 1 else : df["X"] == 0
Error:
Aucun commentaire:
Enregistrer un commentaire