Skip to content

Tag: dataframe

Python/Pandas bring value based on another DF

I have two dataframe, below I am trying to fill df[“Possibilites”] with df2[“first_name”] if key_words in df2[“first_name”] with this code: it returns what i expect but gives a warning also: ” SettingWithCopyWarning: A value is trying to be set on a copy of a slice fr…