У меня есть фрейм данных:
alertname custname
0 wlison wilson
1 dais said
2 4dams adams
3 ad4ms adams
4 ad48s adams
5 smyth smith
6 smythe smith
7 gillan gillan
8 gilen gillan
9 scott-smith scottsmith
10 scott smith scottsmith
11 perrson person
12 persson person
Теперь, когда я запускаю команду follwing из пакета fuzzywuzzy:
from fuzzywuzzy import process
from fuzzywuzzy import fuzz
import Levenshtein
key=['wilson']
process.extractone(key, choices=alertname,scorer=fuzz.token_sort_ratio,limit=10)
Это выдает мне следующую ошибку:
AttributeError: у объекта 'module' нет атрибута 'extractone'