Yilin98 commited on
Commit
aabb418
·
1 Parent(s): ba4bfbb

Update sentiment_analysis.py

Browse files
Files changed (1) hide show
  1. 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, 'Apple')
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')