I have a Dataframe that contains the following values
Keyword Synonyms
0 fuzz [hair, copper, pig, bull, cop, blur]
1 napkins [table]
2 rationalizations [systematization, rationalization]
3 grandmasters [grandmaster]
4 rehearsing [practice]
For the purpose of creating a dropdown menu in a later step, how would I append the value in the Keyword Column to the start of each list in the synonym column?
My code looks like this:
df['Synonyms'] = pd.concat([df['Keyword'].append(df['Synonyms'])