0

I have two dataframes I want to match each keyword of Dataframe A with Dataframe B with maximum match of characters.

I am tried by splitting characters but its not giving exact output as required and also very low accuracy.

Also, I have 50 columns in Dataframe B, My time complexity is much more than expected, Is there any way to reduce time complexity by reducing search time?

Sample input : dataframe 1 = This is my second dataframe containing country details

dataframe2 - Batu, Balomb, and so on, containing country words but not exact match.

I want to search Balomb with Dataframe 1 with the highest matching characters.

Expected output should be:

If Bolamb found in DF1, it should print word.

Naitik Chandak
  • 110
  • 1
  • 3
  • 14

0 Answers0