I have a two dimensional (or more) pandas DataFrame like this:
>>> import pandas as pd >>> df = pd.DataFrame([[0,1],[2,3],[4,5]], columns=[
If you also want to return the index where the matches occurred:
index_list = df[(df['A'] == 2)&(df['B'] == 3)].index.tolist()