多线程问题排查

This commit is contained in:
shenjian@fangjia.com
2023-03-09 16:53:22 +08:00
parent b131fa673e
commit 0466cd3772
+3 -1
View File
@@ -85,7 +85,9 @@ def find_around_price_item(seaweed_df, index, item):
print(index)
if pd.notna(price):
seaweed_df.loc[index, 'avg_cost'] = int(price)
print("success")
if item['_id'] == '50bd172ae4b0fbe60a6fe628':
print("success")
print(seaweed_df.loc[index])
else:
seaweed_df.loc[index, 'avg_cost'] = None
if item['_id'] == '50bd172ae4b0fbe60a6fe628':