This repository contains my submission for Task 2: Exploratory Data Analysis (EDA) as part of the CodeAlpha Data Analytics Internship.
The goal of this task is to explore the Titanic dataset, identify patterns, detect anomalies, and generate insights using statistical and visualization techniques.
- Python
- Pandas
- NumPy
- Matplotlib
- Seaborn
Task2_Titanic_EDA.ipynb→ Jupyter Notebook with code and explanationstitanic.csv→ Dataset used for analysis
- Loaded and inspected the Titanic dataset.
- Explored data structure, variables, and data types.
- Handled missing values and cleaned the dataset.
- Analyzed survival rates by gender, passenger class, and age groups.
- Visualized trends using bar charts, histograms, and heatmaps.
- Tested hypotheses and validated assumptions with statistics.
- Female passengers had a higher survival rate compared to males.
- Passengers in higher classes (1st class) had better chances of survival.
- Younger passengers showed higher survival probability compared to older ones.