@@ -213,9 +213,9 @@ def validate_and_clean_row(args):
213213 cleaned_row [field ] = value if pd .notna (value ) else None
214214
215215 # 정수 필드 정리
216- int_fields = ['nutritional_value_standard_amount' , 'price ' , 'discount_price' ]
216+ int_fields = ['nutritional_value_standard_amount' , 'lprice ' , 'discount_price' ]
217217 for field in int_fields :
218- value = pd .to_numeric (row .get (field if field != 'price ' else 'lprice' , None ), errors = 'coerce' )
218+ value = pd .to_numeric (row .get (field if field != 'lprice ' else 'lprice' , None ), errors = 'coerce' )
219219 if field == 'discount_price' :
220220 value = pd .to_numeric (row .get ('hprice' , None ), errors = 'coerce' )
221221 if field == 'nutritional_value_standard_amount' :
@@ -419,7 +419,7 @@ def update_progress():
419419 'potassium' ,'salt' ,'"VitaminA"' ,'"VitaminB"' ,'"VitaminC"' ,'"VitaminD"' ,'"VitaminE"' ,
420420 'cholesterol' ,'saturated_fatty_acids' ,'trans_fatty_acids' ,'serving_size' ,
421421 'weight' ,'company_name' ,'nutrition_score' ,'nutri_score_grade' ,'nrf_index' ,
422- 'shop_name' ,'price ' ,'discount_price' ,'shop_url' ,'image_url'
422+ 'shop_name' ,'lprice ' ,'discount_price' ,'shop_url' ,'image_url'
423423 ]
424424
425425 placeholders = "," .join (["%s" ] * len (cols ))
0 commit comments