pandas check if value is in a list code example
Example 1: pandas check if value in column is in a list
df_new[df_new['l_ext'].isin([31, 22, 30, 25, 64])]
Example 2: how to check if value is in list python
>>> letters = [a,b,c,d,e]
>>> 'a' in letters:
True