|
@@ -2750,7 +2750,7 @@ class ProductAttributesPredictor():
|
|
|
product = tds[id1]
|
|
|
if id2 != "":
|
|
|
if re.search('\d+|[壹贰叁肆伍陆柒捌玖拾一二三四五六七八九十]', tds[id2]):
|
|
|
- _quantity = tds[id2]
|
|
|
+ quantity = tds[id2]
|
|
|
# quantity = re.sub('[()(),,约]', '', quantity)
|
|
|
# quantity = re.sub('[一壹]', '1', quantity)
|
|
|
# ser = re.search('^(\d+\.?\d*)([㎡\w/]{,5})', quantity)
|