m_index = pd.MultiIndex.from_product([['a', 'b', 'c'], [1, 2, 3], [0.1, 0.2, 0.3]])
test_df = pd.DataFrame(np.arange(27), m_index)
I want to find all the rows for which the first two index levels are in some list of values, e.g. [('a', 1), ('b', 2), ('c', 1), ('c', 3)]
Is this possible?