Skip to content

samima55/Co2_Emission

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CO2 Emission Data Analysis

Welcome to the CO2 Emission Data Analysis project! This project provides you with the opportunity to work in a corporate development environment, where you will code a Python application for data analysis of CO2 emissions in various countries. You will create and execute Python code for this purpose and have the opportunity to compare your work with Python code designed by our experts in real-time.

Table of Contents

Introduction

This project offers a hands-on experience in coding and data analysis, simulating a corporate development environment. You will work on Python applications to analyze CO2 emissions data for different countries. Your task is to create, execute, and refine Python code to perform this analysis.

Project Overview

  • Objective: Perform data analysis on CO2 emissions data for various countries.
  • Tools: Python, data analysis libraries, code comparison with expert-designed code.
  • Learning Outcomes: Gain practical experience in coding, data analysis, and collaboration in a corporate-style development setting.

Data

The project data includes:

  • A structured dataset containing CO2 emissions data for all countries.
  • A list of years 1997- 2010 for which emissions data is available.

Analysis

The Python code for data analysis includes functionalities to:

  • Extract the index of a specific year.
  • Find the country with the highest and lowest CO2 emissions for a given year.
  • Calculate the average CO2 emissions for a specific year.

DD655CF7-D366-47FD-8497-1462907F041E

FB164255-29DF-42A5-9D78-45DEE9D59A18

Getting the head of the data to see how is the data arranged and information and descritpion is included

ACDD3B27-7126-49E4-9E95-30BC34E81750_4_5005_c

Finding Statistics for a Specific Year

Asks the user to input a year. Displays CO2 emissions for each country in that year. Computes and displays statistics like the country with the lowest, highest, and average emissions.

7F48496E-7A41-49D4-B367-7F757F99466D

Plotting Emissions Data for a Selected Country

Takes user input for a country. Plots the CO2 emissions data for the selected country over the years.

FC5A33D5-CB78-4D6A-9202-0E63617C1D2F

Bar Plot for Selected Countries

Takes user input for multiple countries. Creates a bar plot showing emissions for selected countries over the years.

C391B566-BA6E-461B-979C-58102C5594F8

Line Plot for Selected Countries

Takes user input for multiple countries. Creates a line plot showing emissions for selected countries over the years.

DADCF8B0-3E73-4E23-A2DD-75DC8DD8FB23

Scatter Plot for Selected Years

Takes user input for two years. Plots the CO2 emissions for all countries in the selected years. Includes scatter plots for average, maximum, and minimum emissions.

1F4E057E-14D5-46B1-BF66-4358DD6C3775

Box Plot for Selected Years

Plots a box plot of CO2 emissions for the selected years.

F7F89739-EE08-4614-87E2-253B893F9FBB

Histogram for Selected Years

Plots a histogram of CO2 emissions for the selected years and the frequency of change 3CA2164B-7D72-4464-9D14-9A5A49CA5E20

Percentage Change Calculation

Calculates the percentage change in CO2 emissions for each country between consecutive years.

Linear Regression and Fit

Performs linear regression on the percentage change data. Plots the percentage change and a linear fit.

F8E9F151-F54D-4D2B-A4B4-E1834B0451F8

Quadratic Regression and Fit

Performs quadratic regression on the percentage change data. Plots the percentage change and a quadratic fit.

Getting Started

To get started with the CO2 Emission Data Analysis project, follow these steps:

  1. Clone the repository to your local machine:

Author

samima Hassa

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages