filter data by list in pandas code example Example: filter dataframe with list df[df['Your_Column'].isin([3, 6])]