I want to check all the values in the column not equal to particular value.I have written condition like below:
Data :
col1
x1
x2
x3
x1
x4
x1
if (Data['col1'] != "x1").all():
do something
But I am getting false even though condition is true.why?
Aucun commentaire:
Enregistrer un commentaire