My code is:
df_1.loc[df_2.year <= 5, \'old\']\\ = (df_1.loc[df_2.year<= 5, \'old\'].apply(lambda x:x.union({\'old product, \'})))