I need to check if a float is in a dataframe column. See this code:
import pandas as pd
list1 = [24.02, 149, 123.11]
imp = 149.0
df = pd.DataFrame()
df['List1'] = list1
If I run:
imp in df['List1']
>> False
I expected to get True
in return ... How shall I improve my code?