how to check to see if something is within a list of elements in pandas when filtering code example
Example: pandas check if value in column is in a list
df_new[df_new['l_ext'].isin([31, 22, 30, 25, 64])]
df_new[df_new['l_ext'].isin([31, 22, 30, 25, 64])]