Skip to content

PavithraM-prog/CodeAlpha_Task2_EDA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

📊 CodeAlpha Task 2 - Exploratory Data Analysis (EDA)

Project Overview

This project was completed as part of the CodeAlpha Python Programming Internship.

The objective of this project is to perform Exploratory Data Analysis (EDA) on the Titanic dataset to discover patterns, identify missing values, analyze relationships between variables, and present findings through statistical summaries and visualizations.


Dataset

Dataset Used: Titanic Dataset

The dataset contains passenger information such as:

  • Passenger ID
  • Survival Status
  • Passenger Class
  • Name
  • Gender
  • Age
  • Fare
  • Cabin
  • Embarked Port

Technologies Used

  • Python
  • Google Colab
  • Pandas
  • NumPy
  • Matplotlib

Exploratory Data Analysis Performed

  • Dataset Overview
  • Dataset Information
  • Missing Value Analysis
  • Statistical Summary
  • Survival Count Analysis
  • Survival by Gender
  • Age Distribution
  • Survival by Passenger Class
  • Fare Distribution
  • Correlation Matrix
  • Correlation Heatmap

Key Insights

  • Female passengers had a higher survival count than male passengers.
  • First Class passengers had better survival rates.
  • Most passengers were between 20 and 40 years old.
  • Higher fares were generally associated with First Class passengers.
  • Some columns, such as Age and Cabin, contain missing values.
  • Correlation analysis revealed relationships between passenger class, fare, and survival.

Files Included

  • CodeAlpha_Task2_EDA.ipynb
  • titanic.csv
  • README.md

How to Run

  1. Open the notebook in Google Colab or Jupyter Notebook.
  2. Install the required libraries if needed:
pip install pandas numpy matplotlib
  1. Upload titanic.csv.
  2. Run all notebook cells.

Author

Pavithra M

GitHub: https://github.com/PavithraM-prog


Internship

Submitted as Task 2 for the CodeAlpha Python Programming Internship.

About

Exploratory Data Analysis on the Titanic Dataset using Python, Pandas and Matplotlib | CodeAlpha Internship Task 2

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages