ppython daaframe filter code example
Example 1: filter dataframe with list
df[df['Your_Column'].isin([3, 6])]
Example 2: pandas column filter
filter = df['column']!= 0
df = df[filter]
df[df['Your_Column'].isin([3, 6])]
filter = df['column']!= 0
df = df[filter]