AttributeError: 'str' object has no attribute 'union'

前端 未结 0 1579
心在旅途
心在旅途 2021-01-15 02:12

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, \'})))
相关标签:
回答
  • 消灭零回复
提交回复
热议问题