Giter Site home page Giter Site logo

i10brook / worldbank_gdp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from philipuit/worldbank_gdp

0.0 0.0 0.0 103 KB

We will be using the "government expenditure on education" dataset as used in the intro. We will be deleting useless columns and analyze the data and evaluate how reshaping the dataset will help change and make analysis easier. We use the dataset found here: https://databank.worldbank.org/source/education-statistics-%5e-all-indicators and look at GDP % spending by country, verbatim to the instructions to avoid confusion. We will discuss how we tidy the data and reshape it throughout to make the dataset easier and better fot analysis as we progress. import os import requests import pandas as pd import numpy as np

Jupyter Notebook 100.00%

worldbank_gdp's Introduction

Worldbank_GDP

We will be using the "government expenditure on education" dataset as used in the intro. We will be deleting useless columns and analyze the data and evaluate how reshaping the dataset will help change and make analysis easier. We use the dataset found here: https://databank.worldbank.org/source/education-statistics-%5e-all-indicators and look at GDP % spending by country, verbatim to the instructions to avoid confusion. We will discuss how we tidy the data and reshape it throughout to make the dataset easier and better fot analysis as we progress. import os import requests import pandas as pd import numpy as np he World Bank is an excellent place to get comparative data sets. Choose a data set from there to work with: Go to https://data.worldbank.org/ Under the "World Bank Open Data" header, choose "Browse by Indicator" At this point you will see literally hundreds of economic indicators to choose from. Feel free to choose anything that looks interesting. I chose "Government Expenditure on Education, total (% of GDP)" as an example. On the right hand side, choose "Databank". On the left side you will see the Variables tab chosen by default. My recommendation is to open the "Country" section and limit the countries in some manner. Ex: South America, Africa, etc. (the funnel icon will help filter by region). When you are satisfied with the region/countries, find the Download link in the upper-right corner and download a CSV file. Load the dataset into a dataframe. Delete the useless columns like "Series Name", "Country Code", etc. Look at your data: Are there any NaNs? Are missing values represented any other way? Is it easier to deal with missing data now or after the reshaping? If you think it is easier now, do so. Use the melt function to reshape the data into long format. Deal with missing values now if you didn't earlier Perform some minimal analysis of the data using, descriptive statistics, the groupby function, aggregation functions, etc."

dataset description We will be using the "government expenditure on education" dataset as used in the intro. We will be deleting useless columns and analyze the data and evaluate how reshaping the dataset will help change and make analysis easier. We use the dataset found here: https://databank.worldbank.org/source/education-statistics-%5e-all-indicators and look at GDP % spending by country, verbatim to the instructions to avoid confusion. We will discuss how we tidy the data and reshape it throughout to make the dataset easier and better fot analysis as we progress.

worldbank_gdp's People

Contributors

philipuit avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.