Skip to content

N4tasha-tech/Week-7-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Data Analysis & Visualization Assignment

The objective of this assignment is to practice loading, analyzing, and visualizing data in Python. I used panda for data manipulation and matplotlib for visualization.

Tasks

Task 1: Load and Explore the Dataset

Dataset: Iris Dataset (from sklearn.datasets).

Steps:

Loaded dataset into a Pandas dataframe.

Inspected first rows using .head().

Checked dataset info with .info() and .isnull().sum().

Verified dataset is clean with no missing values.

Task 2: Basic Data Analysis

Computed descriptive statistics using .describe().

Grouped data by species to compute average values for each flower type.

Task 3: Data Visualization

Created four different visualizations to analyze the dataset:

Line Chart – Shows sepal and petal length trends across samples.

Bar Chart – Compares the average petal length for each species.

Histogram – Displays the distribution of sepal Length.

Scatter plot – Visualizes relationship between sepal length and petal length, colored by species.

All plots include titles, axis labels, and legends for clarity.

Technologies Used

Python 3

Pandas for data manipulation.

Matplotlib for visualization.

Seaborn for styling and advanced visualization.

Scikit-learn for dataset loading.

How to Run

Install required libraries.

pip install pandas matplotlib seaborn scikit-learn.

Run the Python script.

About

Python dataset assignment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages