This project performs Exploratory Data Analysis (EDA) on Netflix data using both Python (Pandas) and SQL to uncover trends, patterns, and insights. on the Netflix Movies and TV Shows dataset to uncover trends in content distribution, growth patterns, genres, and audience targeting.
The analysis focuses on transforming raw data into meaningful insights using data cleaning, visualization, and statistical reasoning.
-
Source: Netflix Movies and TV Shows Dataset
-
Records: ~8800+ titles
-
Features include:
- Title, Type (Movie/TV Show)
- Director, Cast, Country
- Release Year, Date Added
- Rating, Duration, Genre
- Python
- Pandas
- NumPy
- Matplotlib
- Seaborn
CSV → Data Cleaning (Pandas) → SQL Database → Querying → Visualization → Insights
- Handled missing values in
director,cast,country, andrating - Converted
date_addedto datetime format - Extracted
year_addedfor time-based analysis - Cleaned and transformed
durationfor numerical analysis - Split multi-value columns like
genresandcountry
- Comparison between Movies and TV Shows
- Percentage-based insights
- Growth of Netflix content over the years
- Comparison of Movies vs TV Shows over time
- Top content-producing countries
- Country vs content type comparison
- Most common genres on Netflix
- Genre distribution across Movies and TV Shows
- Distribution of movie durations
- Identification of common runtime patterns
- Difference between release year and Netflix addition year
- Understanding whether Netflix favors newer or older content
- Relationship between numerical features using heatmap
- Queried structured data using SQL
- Compared SQL and Pandas workflows
- Extracted insights using aggregation queries
- Converted dataset into SQLite database
- Performed data analysis using SQL queries
- Used GROUP BY, ORDER BY, and filtering
- Integrated SQL results with Pandas for visualization
- Netflix catalog is dominated by Movies, but TV Shows have grown rapidly after 2016
- USA and India are the top content-producing countries
- Content additions increased significantly after 2015, showing platform expansion
- Drama and International genres are the most prevalent
- Most movies fall within 90–120 minutes duration
- Netflix includes both recent and older content, maintaining a diverse library
netflix-eda/
│
├── netflix_eda.ipynb # EDA using Pandas
├── netflix_sql.ipynb # SQL-based analysis
├── netflix.db # SQLite database
├── images/
├── README.md
- Clone the repository:
git clone https://github.com/YOUR_USERNAME/netflix-eda.git
- Navigate to the folder:
cd netflix-eda
- Run the notebook:
jupyter notebook
- Build an interactive dashboard using Streamlit
- Add advanced visualizations (Seaborn/Plotly)
- Integrate external datasets (e.g., IMDb ratings)
- Deploy as a web-based analytics tool
G. Lohita Reddy B.Tech CSE | Data Science Enthusiast GitHub: https://github.com/Lohita15 LinkedIn: https://linkedin.com/in/lohita-reddy-74860a315