Get entity from dataframe and save in other column [closed]

Solution 1:

The answer for my problem is lambda:

df['Entity1'] = df['column1'].apply(lambda x: list(nlp(x).ents))

This code will add next column with entity from column 1 text.