input data:
obj number
1 433
2 342
3 111
4 345
output data:
true
tried:
df[df['number'].isin([111,433])]
df.number.isin([111,433])
df.number.any() == 111 or 433
but none of them is giving me the result I'm looking for
I'm trying to parse a file and any time the number is in 1 dataframe i would like to run some special algorithm to reformat it. For example if 111 is in the numbers column i would like to add a colum with layout-name where the value 'layout1' should appear