Matching partial expressions between dataframes

Published: 25/09/2018
Matching partial expressions between dataframes
Source: STACKOVERFLOW.COM

I am attempting to perform a partial string match between columns in data frames for example: df_A: Items_A purse string hat glue gum cherry cherry and df_B: 1 2 3 string gum cherry glue desired output: df_matched: matched Items_A 0 purse 1 string 0 hat 1 glue 2 gum 3 cherry 3 cherry I was able to use Regular expression matching with several nested loops, but was wondering if there was a way to us

Read more
Related news
Comment
FACEBOOK