how to filter a dataframe using a list in python code example Example: filter dataframe with list df[df['Your_Column'].isin([3, 6])]