b1 b2
0 0 1
1 2 3
2 4 5
For example, we have a dataframe a in python, is that possible to get value (b1,2) when you input 4, and get value (b2,2) when input value 5.
Also there's duplicate value in the dataframe, i want to get all their location.