for a search key from a column how to check whether a value is present in another column in python pandas code example
Example: check if value is in series pandas
In [21]: s.unique()
Out[21]: array(['a', 'b', 'c'], dtype=object)
In [22]: 'a' in s.unique()
Out[22]: True