結果 : subset dataframe based on multiple conditions python