I have a string. I need to find if the keywords in that string is present in my dataframe.

If present, I need to return that keyword back.

**String:**

```
question="Joe is Available"
question=question.upper()
str_list=question.split()
str_list

```

Out[107]:

```
['JOE', 'IS', 'AVAILABLE']

```

**Dataframe:**

```
df=pd.DataFrame({"Person1":("Ash","Joe","Harry"),"Person2":("Abe","Lisa","Katty",),"Person3":("Sam","Max","Stone")})
df=df.apply(lambda x: x.astype(str).str.upper())

Person1 Person2 Person3
ASH     ABE     SAM
JOE     LISA    MAX
HARRY   KATTY   STONE

```

**My Attempt:**

```
return_field=""
for x in str_list:
    print(x)
    for i in df.iterrows():
        if(df.str.contains(x)):
            return_field=x

```

Gives me AttributeError: 'DataFrame' object has no attribute 'str'

**Expected Output**

Since Joe is present in the dataframe, it should return me back "Joe"