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