Compared two dataframes on strings. I would like to assign the matched strings to one of the dataframes in the right column and row

后端 未结 0 972
天涯浪人
天涯浪人 2020-12-19 00:35
for country in df1[\'country \']:
         for street,City in zip(df2.street, df2.City):
             if re.match(r\'[A-Za-z]+\\:\'+ street + r\'\\.\'+ City,country          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题