selecting from multi-index pandas,df.iloc[df.index.get_level_values('A') == 1]