Skip to content

Instantly share code, notes, and snippets.

We can't make this file beautiful and searchable because it's too large.
id,asins,brand,categories,dateAdded,dateUpdated,descriptions,dimension,ean,flavors,keys,manufacturer,manufacturerNumber,name,reviews.date,reviews.dateAdded,reviews.dateSeen,reviews.didPurchase,reviews.doRecommend,reviews.id,reviews.numHelpful,reviews.rating,reviews.sourceURLs,reviews.text,reviews.title,reviews.userCity,reviews.userProvince,reviews.username,sizes,sourceURLs,upc,weight
AV13ClKCGV-KLJ3akN68,,Gallo,"Food & Beverage,Beverages,Wine, Beer & Liquor,Wine",2017-07-24T23:59:11Z,2018-01-10T18:06:28Z,,1.0 in x 1.0 in x 1.0 in,,,"492130001994,gallo/13312834",,13312834,Ecco Domani174 Pinot Grigio - 750ml Bottle,2017-08-01T21:13:49.000Z,2018-01-09T13:24:04Z,"2017-12-14T19:41:00.000Z,2017-12-19T19:55:00.000Z,2017-12-06T01:40:00.000Z,2017-11-18T20:09:00.000Z,2017-10-26T16:13:00.000Z,2017-08-16T11:20:15.746Z,2017-08-18T18:30:15.452Z,2017-09-01T17:04:29.797Z,2017-08-06T14:00:48.156Z,2017-08-20T18:01:35.030Z,2017-08-08T11:58:19.262Z,2017-08-04T15:49:50.043Z",,TRUE,,1,5,https://redsky.target.com/groot-domain-api/v
@rrr3try
rrr3try / fuzzy.py
Last active September 28, 2020 16:31
fuzzywuzzy example
# pip install fuzzywuzzy[speedup]
# pip install tqdm
from fuzzywuzzy import fuzz
THRESHOLD = 90
length = len(data)
@rrr3try
rrr3try / fuzzy.txt
Created March 3, 2020 12:40
procurements
item - из данных clearspending.ru
procurement из данных https://zakupki.roskomsvoboda.org/api/procurements/
print(item["regNum"], ":", item['number'], "::", procurement["reg_number"])
print(product["name"], '\n', procurement["procurement_name"])
58902008370190000280000 : 58902008370190000280001 :: 31908597361
Оказание телематических услуг связи с контент-фильтрацией
Оказание телематических услуг связи с контент-фильтрацией услуги
58902008370190000280000 : 58902008370190000280001 :: 31908561680
Оказание телематических услуг связи с контент-фильтрацией