What is the best search method for finding entries in a dataframe based on their column values. My dataframe is formatted like this:
| header a | header b | header c | header d | header e |
|----------|----------|----------|----------|----------|
| 1 | 1 | 1 | 1 | 1 |
| 3 | 2 | 5 | 6 | 2 |
| 2 | 2 | 2 | 2 | 2 |
There are hundreds of unsorted rows and I am looking for the row with values [3,2,5,6,2]. The brute force approach would be to check if the first column contains the value 3. If so, check if the second column contains the value 2, etc. Is there a more optimized approach to this?