Spaces:
Runtime error
Runtime error
Update sentiment_analysis.py
Browse files- sentiment_analysis.py +1 -1
sentiment_analysis.py
CHANGED
|
@@ -30,7 +30,7 @@ def news_scraping(company):
|
|
| 30 |
'title': [],
|
| 31 |
'body_text': [],
|
| 32 |
'url':[]})
|
| 33 |
-
articles_df=scrape_news(urls, articles_df,
|
| 34 |
|
| 35 |
# Checking the data for duplicates
|
| 36 |
articles_df[articles_df.duplicated('body_text',keep=False)].sort_values('body_text')
|
|
|
|
| 30 |
'title': [],
|
| 31 |
'body_text': [],
|
| 32 |
'url':[]})
|
| 33 |
+
articles_df=scrape_news(urls, articles_df, company)
|
| 34 |
|
| 35 |
# Checking the data for duplicates
|
| 36 |
articles_df[articles_df.duplicated('body_text',keep=False)].sort_values('body_text')
|