Commit a4f00a9b authored by rico.liu's avatar rico.liu

update strip

parent 05c9571f
......@@ -69,12 +69,16 @@ def matchSKU(sku_list,frm):
data_sku_file_op = pd.DataFrame(data_sku,columns=['productcode','sku'])
data_sku_file = pd.concat([data_sku_file,data_sku_file_op]).drop_duplicates()
data_sku_file['productcode'] = data_sku_file['productcode'].apply(lambda x:x.strip())
data_sku_file['sku'] = data_sku_file['sku'].apply(lambda x:x.strip())
print('sku获取完毕')
conn.close()
cursor.close()
sku_check = {}
for sku in set(sku_list):
sku = sku.strip()
#print(sku)
#sku = 100004460761
if str(sku) in list(data_sku_file['sku']):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment