79517154

Date: 2025-03-18 11:00:57
Score: 1
Natty:
Report link

I think that books is a Pandas Series, but fuzzywuzzy.process.extractOne expects a list of strings as the second argument. So you may try to convert books to a list before passing it to process.extractOne writing:

books = pd1["title"].str.strip().str.lower().tolist()  
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Camilla Giuliani