I use the SequenceMatcher ratio to match two dataframe with the best ratio.
I want to check first if the score A and AA is good then check if the score between B is BB is