We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01d0398 commit 91a5082Copy full SHA for 91a5082
stringComparisonFromCSV.py
@@ -23,11 +23,13 @@
23
reader = csv.DictReader(csvfile)
24
for row in reader:
25
nameList.append(str(row['prefLabel']))
26
-
+counter = len(nameList)
27
f=csv.writer(open(fileName[:fileName.index('.')]+'NearMatches.csv','wb'))
28
f.writerow(['percentage']+['name1']+['name2'])
29
completeNearMatches = []
30
for name in nameList:
31
+ counter -= 1
32
+ print 'Rows remaining: ', counter
33
for name2 in nameList:
34
if name != name2:
35
ratio = fuzz.ratio(name, name2)
0 commit comments