I have a pandas df column that contains English words, some were entered as eg. Ant(small,white). I want to remove the bracketed words and put the in a new column. The code I used is written below
pattern = re.compile('.*\((\w+)\).*')
df_new['Context']= [re.search(pattern,i) for i in df_new.English_words.values]
The screenshot shows the way the table looks

The output of the code
