This project analyzes the sentiment of video titles and top 5 comments from 10 major Indian finance YouTube channels over a 3-year period (2021–2023). The goal is to quantify and track public sentiment around financial topics like SIPs, LIC, Sensex, and market performance.
sentiment_analysis.ipynb: Main notebook that extracts, cleans, and analyzes sentimentyoutube_monthly_sentiment.xls: Final monthly sentiment scores (weighted by title and comment)
- Data extracted using YouTube Data API (via multiple keys to manage quota)
- Titles and top 5 comments per video were collected monthly for each keyword/channel
- Sentiment calculated using:
- VADER for comments
- TextBlob or VADER for titles
- Weighted average:
- 60% title sentiment
- 40% average of top 5 comment sentiments
- One sentiment score per month per keyword across all channels
- Output stored in Excel (
youtube_monthly_sentiment.xls) - Ready for downstream econometric or trend analysis
- Python
- Pandas
- VADER Sentiment
- TextBlob
- YouTube Data API
- Jupyter Notebook
Mashhood Raza Khan
Add this once added to your LinkedIn profile