FB Marketplace crawler
This commit is contained in:
parent
d82e3afb49
commit
2b0800dd46
|
@ -99,6 +99,7 @@ class FbMarketplaceProducts:
|
||||||
df['Price'] = df['Price'].str.replace(',', '')
|
df['Price'] = df['Price'].str.replace(',', '')
|
||||||
df['Price'] = pd.to_numeric(df['Price'], errors='coerce')
|
df['Price'] = pd.to_numeric(df['Price'], errors='coerce')
|
||||||
df['Price'] = df['Price'].fillna(0)
|
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"
|
filename = 'facebook_crawler_tracker' + str(datetime.now().strftime('%Y%m%d%H%M%S')) + ".csv"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue