Dataframe query result not as expected

I have made the same code as shown in week 10 course of DS but in result i am not getting my method selection result on the values, instead it is giving me the ‘Transit’ method values not ‘Radial Velocity method’. please suggest the proper solution.

It’s not clear to me what are you doing wrong but use ‘or’ instead of ‘|’ and make sure you write the ‘radial velocity’ as mentioned in the ‘df’ and also try removing extra parentheses from df_[‘distance’].