結果 : subset a dataframe in python based on multiple conditions