From d146b1d8380cbd9bac7ffb1def0332481c3cf34a Mon Sep 17 00:00:00 2001 From: Olivier MEYER Date: Tue, 16 Jul 2024 09:35:25 +0200 Subject: [PATCH] Actualiser best_restaurants_scraping.py --- best_restaurants_scraping.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/best_restaurants_scraping.py b/best_restaurants_scraping.py index 3c39f54..843dcb7 100644 --- a/best_restaurants_scraping.py +++ b/best_restaurants_scraping.py @@ -137,10 +137,4 @@ def complete_scraping(): ic() df = df.drop(index=[i, i + 1]) - items = df['Price'] - for i in range(len(items)): - if not pd.isna(items[i]): - if items[i].replace('€', '') != '': - items[i] = items[i].split(' ')[0] - return df