SlideShare una empresa de Scribd logo
1 de 1
Descargar para leer sin conexión
The file OECD.csv contains information about the gross domestic product (GDP) per capita for
different countries belonging to the OECD. The table shows the current GDP per capita from
1991 to 2021 of each country. (Data from: https://data.oecd.org/gdp/gross-domestic-product-
gdp.htm#indicator-chart)
Task1
Import the pandas module. Load the data from OECD.csv into a Pandas dataframe called as
"OECD". The country name should show up as the row labels. Display the dataframe contents,
summary of columns, and basic statistical description of the data.
In [95]:
Task2
Run the below cell first which randomly selects a 10 year span. In a new cell, sort the data by the
current GDP per capita. Then plot a horizontal bar chart of the current GDP for each country.
In [ ]:
In [98]:
Task3
Compute the difference between GDP per capita for the 10 year interval. Place this data as a new
column in the same dataframe. Sort the dataframe by the GDP growth and display the contents.
Which country has the highest growth in GDP per capita? Which had the smallest?
In [ ]:
Task4
Create a dataframe that contains a subset of the countries that had negative growth of their GDP
per capita. You should use Pandas comparisons and selection operators. Display the resulting
dataframe contents.
In [99]:
Task5
Compute the Pearson correlation index between the GDP in 2012 and in 2022. Are the columns
correlated? If so, how (weakly, strongly, etc.)?

Más contenido relacionado

Similar a The file OECD.csv contains information about the gross domestic prod.pdf

Calculation contex in sap business objects
Calculation contex in sap business objectsCalculation contex in sap business objects
Calculation contex in sap business objects
Dmitry Anoshin
 
Business Intelligence Portfolio
Business Intelligence PortfolioBusiness Intelligence Portfolio
Business Intelligence Portfolio
eileensauer
 
Business Intelligence Portfolio
Business Intelligence PortfolioBusiness Intelligence Portfolio
Business Intelligence Portfolio
eileensauer
 
DATA EXERCISE #1Format of the ProjectThe Data Exercise must b.docx
DATA EXERCISE #1Format of the ProjectThe Data Exercise must b.docxDATA EXERCISE #1Format of the ProjectThe Data Exercise must b.docx
DATA EXERCISE #1Format of the ProjectThe Data Exercise must b.docx
whittemorelucilla
 
By Analyzing and Utilizing Jean Watson theory of caring, creat
By Analyzing and Utilizing Jean Watson theory of caring, creatBy Analyzing and Utilizing Jean Watson theory of caring, creat
By Analyzing and Utilizing Jean Watson theory of caring, creat
TawnaDelatorrejs
 
MS BI SSAS Project Portfolio
MS BI SSAS Project PortfolioMS BI SSAS Project Portfolio
MS BI SSAS Project Portfolio
pencarver
 
Global Production Sharing: Patterns, Determinants and Macroeconomic implications
Global Production Sharing: Patterns, Determinants and Macroeconomic implicationsGlobal Production Sharing: Patterns, Determinants and Macroeconomic implications
Global Production Sharing: Patterns, Determinants and Macroeconomic implications
anucrawfordphd
 
Sagar sen caise2013final
Sagar sen caise2013finalSagar sen caise2013final
Sagar sen caise2013final
caise2013vlc
 
Sagar sen caise2013final
Sagar sen caise2013finalSagar sen caise2013final
Sagar sen caise2013final
caise2013vlc
 
Labor Statistics Employment and Unemployment BLS E.docx
Labor Statistics Employment and Unemployment BLS E.docxLabor Statistics Employment and Unemployment BLS E.docx
Labor Statistics Employment and Unemployment BLS E.docx
croysierkathey
 

Similar a The file OECD.csv contains information about the gross domestic prod.pdf (15)

Calculation contex in sap business objects
Calculation contex in sap business objectsCalculation contex in sap business objects
Calculation contex in sap business objects
 
Business Intelligence Portfolio
Business Intelligence PortfolioBusiness Intelligence Portfolio
Business Intelligence Portfolio
 
Business Intelligence Portfolio
Business Intelligence PortfolioBusiness Intelligence Portfolio
Business Intelligence Portfolio
 
DATA EXERCISE #1Format of the ProjectThe Data Exercise must b.docx
DATA EXERCISE #1Format of the ProjectThe Data Exercise must b.docxDATA EXERCISE #1Format of the ProjectThe Data Exercise must b.docx
DATA EXERCISE #1Format of the ProjectThe Data Exercise must b.docx
 
By Analyzing and Utilizing Jean Watson theory of caring, creat
By Analyzing and Utilizing Jean Watson theory of caring, creatBy Analyzing and Utilizing Jean Watson theory of caring, creat
By Analyzing and Utilizing Jean Watson theory of caring, creat
 
Railway ticket Simple Program
Railway ticket Simple ProgramRailway ticket Simple Program
Railway ticket Simple Program
 
MS BI SSAS Project Portfolio
MS BI SSAS Project PortfolioMS BI SSAS Project Portfolio
MS BI SSAS Project Portfolio
 
Comp 122 lab 3 lab report and source code
Comp 122 lab 3 lab report and source codeComp 122 lab 3 lab report and source code
Comp 122 lab 3 lab report and source code
 
Global Production Sharing: Patterns, Determinants and Macroeconomic implications
Global Production Sharing: Patterns, Determinants and Macroeconomic implicationsGlobal Production Sharing: Patterns, Determinants and Macroeconomic implications
Global Production Sharing: Patterns, Determinants and Macroeconomic implications
 
Sagar sen caise2013final
Sagar sen caise2013finalSagar sen caise2013final
Sagar sen caise2013final
 
Sagar sen caise2013final
Sagar sen caise2013finalSagar sen caise2013final
Sagar sen caise2013final
 
00a1Trips_LastFirst (solution)
00a1Trips_LastFirst (solution)00a1Trips_LastFirst (solution)
00a1Trips_LastFirst (solution)
 
Devry bis-155-final-exam-guide-new
Devry bis-155-final-exam-guide-newDevry bis-155-final-exam-guide-new
Devry bis-155-final-exam-guide-new
 
Labor Statistics Employment and Unemployment BLS E.docx
Labor Statistics Employment and Unemployment BLS E.docxLabor Statistics Employment and Unemployment BLS E.docx
Labor Statistics Employment and Unemployment BLS E.docx
 
Birt crosstabtutorialadvanced
Birt crosstabtutorialadvancedBirt crosstabtutorialadvanced
Birt crosstabtutorialadvanced
 

Más de sgambikaproducts

The following are the work records of 5 employees. As their manager,.pdf
The following are the work records of 5 employees. As their manager,.pdfThe following are the work records of 5 employees. As their manager,.pdf
The following are the work records of 5 employees. As their manager,.pdf
sgambikaproducts
 
The following excerpts have been taking from a patient � Maisie Wils.pdf
The following excerpts have been taking from a patient � Maisie Wils.pdfThe following excerpts have been taking from a patient � Maisie Wils.pdf
The following excerpts have been taking from a patient � Maisie Wils.pdf
sgambikaproducts
 

Más de sgambikaproducts (20)

The following transaction have not been recorded1. A debtor retur.pdf
The following transaction have not been recorded1. A debtor retur.pdfThe following transaction have not been recorded1. A debtor retur.pdf
The following transaction have not been recorded1. A debtor retur.pdf
 
The following transaction have not been recorded 1. A debtor retu.pdf
The following transaction have not been recorded 1. A debtor retu.pdfThe following transaction have not been recorded 1. A debtor retu.pdf
The following transaction have not been recorded 1. A debtor retu.pdf
 
The following table contains nominal and real GDP data in billions o.pdf
The following table contains nominal and real GDP data in billions o.pdfThe following table contains nominal and real GDP data in billions o.pdf
The following table contains nominal and real GDP data in billions o.pdf
 
The following picture represents a Real Madrid football fans custom.pdf
The following picture represents a Real Madrid football fans custom.pdfThe following picture represents a Real Madrid football fans custom.pdf
The following picture represents a Real Madrid football fans custom.pdf
 
The following list of Rs and Ns represent returned documents in a ra.pdf
The following list of Rs and Ns represent returned documents in a ra.pdfThe following list of Rs and Ns represent returned documents in a ra.pdf
The following list of Rs and Ns represent returned documents in a ra.pdf
 
The following list contains a number of debt instruments which you c.pdf
The following list contains a number of debt instruments which you c.pdfThe following list contains a number of debt instruments which you c.pdf
The following list contains a number of debt instruments which you c.pdf
 
The following are the work records of 5 employees. As their manager,.pdf
The following are the work records of 5 employees. As their manager,.pdfThe following are the work records of 5 employees. As their manager,.pdf
The following are the work records of 5 employees. As their manager,.pdf
 
The following information is given (in millions of euros) about inte.pdf
The following information is given (in millions of euros) about inte.pdfThe following information is given (in millions of euros) about inte.pdf
The following information is given (in millions of euros) about inte.pdf
 
The following information applies to the questions displayed below] .pdf
The following information applies to the questions displayed below] .pdfThe following information applies to the questions displayed below] .pdf
The following information applies to the questions displayed below] .pdf
 
The following income statement was drawn from the records of Munoz, .pdf
The following income statement was drawn from the records of Munoz, .pdfThe following income statement was drawn from the records of Munoz, .pdf
The following income statement was drawn from the records of Munoz, .pdf
 
The following excerpts have been taking from a patient � Maisie Wils.pdf
The following excerpts have been taking from a patient � Maisie Wils.pdfThe following excerpts have been taking from a patient � Maisie Wils.pdf
The following excerpts have been taking from a patient � Maisie Wils.pdf
 
The following events occurred in the recent past in Canada� The w.pdf
The following events occurred in the recent past in Canada� The w.pdfThe following events occurred in the recent past in Canada� The w.pdf
The following events occurred in the recent past in Canada� The w.pdf
 
The following diagram shows the chromosomes with their associated ge.pdf
The following diagram shows the chromosomes with their associated ge.pdfThe following diagram shows the chromosomes with their associated ge.pdf
The following diagram shows the chromosomes with their associated ge.pdf
 
The firm is currently an all-equity firm with assets worth $250 mill.pdf
The firm is currently an all-equity firm with assets worth $250 mill.pdfThe firm is currently an all-equity firm with assets worth $250 mill.pdf
The firm is currently an all-equity firm with assets worth $250 mill.pdf
 
The financial records of Vaughn Inc. were destroyed by fire at the e.pdf
The financial records of Vaughn Inc. were destroyed by fire at the e.pdfThe financial records of Vaughn Inc. were destroyed by fire at the e.pdf
The financial records of Vaughn Inc. were destroyed by fire at the e.pdf
 
The figure above shows graphs of oxygen consumption and of ATP synth.pdf
The figure above shows graphs of oxygen consumption and of ATP synth.pdfThe figure above shows graphs of oxygen consumption and of ATP synth.pdf
The figure above shows graphs of oxygen consumption and of ATP synth.pdf
 
The dirname utility treats its argument as a pathname and wri.pdf
The dirname utility treats its argument as a pathname and wri.pdfThe dirname utility treats its argument as a pathname and wri.pdf
The dirname utility treats its argument as a pathname and wri.pdf
 
The Federal Register is best described by which of the following sta.pdf
The Federal Register is best described by which of the following sta.pdfThe Federal Register is best described by which of the following sta.pdf
The Federal Register is best described by which of the following sta.pdf
 
The Federal Information Security Modernization Act (FISMA) was desig.pdf
The Federal Information Security Modernization Act (FISMA) was desig.pdfThe Federal Information Security Modernization Act (FISMA) was desig.pdf
The Federal Information Security Modernization Act (FISMA) was desig.pdf
 
The FASB requires that a statement showing the relationship of funct.pdf
The FASB requires that a statement showing the relationship of funct.pdfThe FASB requires that a statement showing the relationship of funct.pdf
The FASB requires that a statement showing the relationship of funct.pdf
 

Último

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 

Último (20)

Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 

The file OECD.csv contains information about the gross domestic prod.pdf

  • 1. The file OECD.csv contains information about the gross domestic product (GDP) per capita for different countries belonging to the OECD. The table shows the current GDP per capita from 1991 to 2021 of each country. (Data from: https://data.oecd.org/gdp/gross-domestic-product- gdp.htm#indicator-chart) Task1 Import the pandas module. Load the data from OECD.csv into a Pandas dataframe called as "OECD". The country name should show up as the row labels. Display the dataframe contents, summary of columns, and basic statistical description of the data. In [95]: Task2 Run the below cell first which randomly selects a 10 year span. In a new cell, sort the data by the current GDP per capita. Then plot a horizontal bar chart of the current GDP for each country. In [ ]: In [98]: Task3 Compute the difference between GDP per capita for the 10 year interval. Place this data as a new column in the same dataframe. Sort the dataframe by the GDP growth and display the contents. Which country has the highest growth in GDP per capita? Which had the smallest? In [ ]: Task4 Create a dataframe that contains a subset of the countries that had negative growth of their GDP per capita. You should use Pandas comparisons and selection operators. Display the resulting dataframe contents. In [99]: Task5 Compute the Pearson correlation index between the GDP in 2012 and in 2022. Are the columns correlated? If so, how (weakly, strongly, etc.)?