From 2b0800dd46a238abf41997d34949d0021bf39c85 Mon Sep 17 00:00:00 2001 From: "shariar@raenabeauty.com" Date: Thu, 1 Feb 2024 13:33:24 +0400 Subject: [PATCH] FB Marketplace crawler --- fb_marketplace/fb_marketplace_products.py | 1 + 1 file changed, 1 insertion(+) diff --git a/fb_marketplace/fb_marketplace_products.py b/fb_marketplace/fb_marketplace_products.py index a9c29a1..b460409 100644 --- a/fb_marketplace/fb_marketplace_products.py +++ b/fb_marketplace/fb_marketplace_products.py @@ -99,6 +99,7 @@ class FbMarketplaceProducts: df['Price'] = df['Price'].str.replace(',', '') df['Price'] = pd.to_numeric(df['Price'], errors='coerce') df['Price'] = df['Price'].fillna(0) + df['Price'] = df['Price'].astype(int) filename = 'facebook_crawler_tracker' + str(datetime.now().strftime('%Y%m%d%H%M%S')) + ".csv"