I am able to extract data , a list of words from the web using BeautifulSoup. The data is collected in the component synonyms[i].text. However when I want to convert the data extracted into a dataframe I get the words split into letters rather than in complete words. How do I convert the data into a proper list of words in a proper dataframe i.e., where a word like 'analyse' is in the data frame as 'analyse' and not split as 'a','n','a','l','y','s','e' ?

```
import requests
from bs4 import BeautifulSoup
import pandas as pd
page = requests.get("https://www.wordhippo.com/what-is/another-word-for/guard.html")
soup = BeautifulSoup(page.content, 'html.parser')

keyword = "guard"

synonyms = soup.select('.relatedwords')
for i in range(0, 1):
              print ('synonyms section ' + str(i + 1))
              print pd.DataFrame((list(synonyms[i].text)))

#Output that I need to convert into a DataFrame
synonyms section 1

fighter
trooper
warrior
serviceman

#The Output I am getting in the list

```

[![enter image description here](https://i.stack.imgur.com/s97Li.jpg)](https://i.stack.imgur.com/s97Li.jpg)

Thanks in advance.