Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas check if value in column is in a list

df_new[df_new['l_ext'].isin([31, 22, 30, 25, 64])]
 
PREVIOUS NEXT
Tagged: #pandas #check #column #list
ADD COMMENT
Topic
Name
9+5 =