模糊调用python时出错

2024-09-28 19:26:12 发布

您现在位置:Python中文网/ 问答频道 /正文

我有一个数据帧:

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

现在,当我从fuzzyfuzzy包运行以下命令时:

^{pr2}$

它给出了以下错误:

AttributeError:“module”对象没有属性“extractone”


Tags: 数据scottpersonsmithwilsondaisadamssaid