I've two Dataframes
- DF1 = Contains (~30 Columns and 15000 entries) relevant are "TYP" (string) and "VERSION" (string)
- DF2 = Contains "SOFTWARE_NAME" (string), "VERSION" (string) and "EOS" (date)
Now I'd like to add in DF1 additional columns "EOS_DATE" (date), "EOS" (bool) if
DF1['TYP'] == DF2['SOFTWARE_NAME'] &
DF1['VERSION'] == DF2['VERSION']
then
DF1['EOS_DATE'] = DF2['EOS']
DF1['EOS'] = if DF2['EOS'] < now() then True else False
I've tried with np, pd.where(~) but running mainly in this issue:
ValueError: Can only compare identically-labeled Series objects