conditions with isin function code example Example: conditions with isin function df[df['Tenure'].isin([4,6,9,10])]