I have a pandas DataFrame in the following format:
df.head()
y y_pred
599 0 0
787 9 9
47 2 2
1237 1 1
1069 6 6
I want to find the rows / index numbers - where y != y_pred.
I am trying to do it through Select
but am not able to do so. Please help.
TIA