how to locate rows pandas by by loc code example Example: pandas loc for list df.loc[df['channel'].isin(['sale','fullprice'])]