|
@@ -571,11 +571,11 @@ class SpApiRequest:
|
|
|
# print("需要关注数据(是否异常):",len(temp),temp.to_numpy().tolist()) if len(temp)>1 else 1
|
|
|
if len(temp)>1:
|
|
|
# temp = temp.head(1).to_numpy().tolist()
|
|
|
- df_data = df_data.append(temp_df, ignore_index=True)
|
|
|
+ df_data = pd.concat((df_data,temp_df),ignore_index=True) #df_data.append(temp_df, ignore_index=True)
|
|
|
delete_list.append((seller_id, marketplace_id, sku, listing_id, product_id))
|
|
|
# print(len(temp))
|
|
|
elif len(temp)==0:
|
|
|
- df_data = df_data.append(temp_df,ignore_index=True)
|
|
|
+ df_data = pd.concat((df_data,temp_df),ignore_index=True)
|
|
|
delete_list.append((seller_id,marketplace_id,sku,listing_id,product_id))
|
|
|
row += 1
|
|
|
print("判断不同数据条数",len(delete_list))
|