Actualiser best_restaurants_scraping.py
This commit is contained in:
parent
07e68fed34
commit
d146b1d838
|
@ -137,10 +137,4 @@ def complete_scraping():
|
||||||
ic()
|
ic()
|
||||||
df = df.drop(index=[i, i + 1])
|
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
|
return df
|
||||||
|
|
Loading…
Reference in New Issue
Block a user