I have a list of words like this: list1 = ["I","have","a","headache"]
and a pandas data frame like this:
I want to search word by word in the "list1" with the words in "keyWord" column and get the "id".
I would appreciate help and/or any pointers
I want to search the words in the list with the data frame. not to search the data frame with the list.
output must be like:
keyword id
headache 1