{"id":20270450,"url":"https://github.com/altimis/sentiment-analysis-on-tweets","last_synced_at":"2026-04-16T09:38:15.490Z","repository":{"id":106394945,"uuid":"316629292","full_name":"Altimis/Sentiment-analysis-on-tweets","owner":"Altimis","description":"Netflix vs Disney+ reputation in USA and Europe using Sentiment Analysis on Tweets (from 1 February 2020 to 8 February 2020)","archived":false,"fork":false,"pushed_at":"2020-12-01T21:53:51.000Z","size":42234,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-14T05:42:36.957Z","etag":null,"topics":["bokeh","disneyplus","natural-language-processing","netflix","polarity","popularity","python","sentiment-analysis"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Altimis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-28T00:49:47.000Z","updated_at":"2020-12-01T21:53:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"ae2d0a86-3d5f-4873-b53a-df3ac0be8ea1","html_url":"https://github.com/Altimis/Sentiment-analysis-on-tweets","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Altimis%2FSentiment-analysis-on-tweets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Altimis%2FSentiment-analysis-on-tweets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Altimis%2FSentiment-analysis-on-tweets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Altimis%2FSentiment-analysis-on-tweets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Altimis","download_url":"https://codeload.github.com/Altimis/Sentiment-analysis-on-tweets/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241753145,"owners_count":20014252,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bokeh","disneyplus","natural-language-processing","netflix","polarity","popularity","python","sentiment-analysis"],"created_at":"2024-11-14T12:30:31.270Z","updated_at":"2026-04-16T09:38:10.443Z","avatar_url":"https://github.com/Altimis.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Netflix vs Disney+ reputation in USA and Europe\n\nUsing sentiment analysis on Tweets streamed for 7 days (from February 1 2020 to February 8 2020), I studied the reputation (polarity) of Netflix and Disney+ in the US and Europe, and used Bokeh library to visualize these results. \n\n## Getting started\n\nThis repository includes :\n\n* [tweets.ipynb](https://github.com/Altimis/Video-streaming-services-popularity-in-USA-and-Europe-using-sentiment-analysis-on-Tweets/blob/master/tweets.ipynb) : contains the main code for streaming and processing tweets to get the polarity of each tweet. \n* [tweet_app.py](https://github.com/Altimis/Video-streaming-services-popularity-in-USA-and-Europe-using-sentiment-analysis-on-Tweets/blob/master/tweet_app.py) : contains the code for Bokeh application.\n* [df.csv](https://github.com/Altimis/Video-streaming-services-popularity-in-USA-and-Europe-using-sentiment-analysis-on-Tweets/blob/master/df.csv) and [df_prepared.csv](https://github.com/Altimis/Video-streaming-services-popularity-in-USA-and-Europe-using-sentiment-analysis-on-Tweets/blob/master/df_prepared.csv) : contains streamed data.\n\nNote that I was only able to stream Tweets for 7 days. You could use another hashtag in [tweets.ipynb](https://github.com/Altimis/Video-streaming-services-popularity-in-USA-and-Europe-using-sentiment-analysis-on-Tweets/blob/master/tweets.ipynb) instead of Netflix and Disney+ to compare other companies, or even other topics. \n\n## Requirements\n\npandas, tweepy, bokeh, nltk and cryptography\n\n## Usage \n\nTo visualize the results of this projet, loacte to this repository after cloning it and execute this command : \n\n```sh\nbokeh serve --show tweet_app.py\n```\n## Results \n\nHere is the visualization of polarity of Netflix and Disney+ tweets in both US and Europe. \n\n* Europe : \n\n![](bokeh_plot_europe.png?raw=true)\n\n* USA : \n\n![](bokeh_plot_usa.png?raw=true)\n\nDespite the limited data (only 7 days), I was able to get some useful information from it: \n\n- Disney+ is more popular in this period than netflix in Europe. In fact, during this period, Disney+ reached its peak in the stock market.\n- On February 5, 2020, Toy story 4 was released on Disney+, which justifies the increase of positive tweets on Disney+ in the US compared to netflix, which started to decrease. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faltimis%2Fsentiment-analysis-on-tweets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faltimis%2Fsentiment-analysis-on-tweets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faltimis%2Fsentiment-analysis-on-tweets/lists"}