I would like to merge 2 dataframes based on shared string column, but sometimes that column values differ slightly. Is there a way in pandas to do that
FrameA
someNumber street
0 1 A Street
1 2 B street
FrameA
someNumber street
0 1 A Str
1 2 B st
In above frames I would like to join based on 'street' column, but treat for example, 'A Street' and 'A Str' values as same. It would be good if there is some kind of threshold, like if edit distance between 2 values is say 4, I would like to treat them as same values.