I am getting below error. How I fix it?
The assertion is triggered because the array of indexes is not elementwise equal to the array of values provided. So to debug your code, print out the indices to see where it might have gone wrong.
A good place to put this print statement is in the code section where the index is found, below this implementation note:
The problem is solved. Thank you!