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