In [3]:
import cs109style
cs109style.customize_mpl()
cs109style.customize_css()

# special IPython command to prepare the notebook for matplotlib
%matplotlib inline 

from collections import defaultdict

import pandas as pd
import matplotlib.pyplot as plt
import requests
from pattern import web


Setting custom matplotlib visual style
Setting custom CSS for the IPython Notebook

Fetching population data from Wikipedia

In this example we will fetch data about countries and their population from Wikipedia.

http://en.wikipedia.org/wiki/List_of_countries_by_past_and_future_population has several tables for individual countries, subcontinents as well as different years. We will combine the data for all countries and all years in a single panda dataframe and visualize the change in population for different countries.

We will go through the following steps:

  • fetching html with embedded data
  • parsing html to extract the data
  • collecting the data in a panda dataframe
  • displaying the data

To give you some starting points for your homework, we will also show the different sub-steps that can be taken to reach the presented solution.

Fetching the Wikipedia site


In [4]:
url = 'http://en.wikipedia.org/wiki/List_of_countries_by_past_and_future_population'
website_html = requests.get(url).text
#print website_html

Parsing html data


In [5]:
def get_population_html_tables(html):
    """Parse html and return html tables of wikipedia population data."""

    dom = web.Element(html)

    # 0. step: look at html source!
    
    # 1. step: get all tables
    
    # tbls = [t for t in dom.by_tag('table')]

    # 2. step: get all wikitable sortable tables (the ones with data)
    
    tbls = [t for t in dom.by_tag('table') if t.attributes['class'] == "wikitable sortable"]
    
    return tbls

tables = get_population_html_tables(website_html)
print "table length: %d" %len(tables)
for t in tables:
    print t.attributes


table length: 6
{u'style': u'text-align: right', u'border': u'1', u'class': u'wikitable sortable'}
{u'style': u'text-align: right', u'border': u'1', u'class': u'wikitable sortable'}
{u'style': u'text-align: right', u'border': u'1', u'class': u'wikitable sortable'}
{u'style': u'text-align: right', u'border': u'1', u'class': u'wikitable sortable'}
{u'style': u'text-align: right', u'border': u'1', u'class': u'wikitable sortable'}
{u'style': u'text-align: right', u'border': u'1', u'class': u'wikitable sortable'}

In [6]:
def table_type(tbl):
    headers = [th.content for th in tbl.by_tag('th')]
    return headers[1]

# group the tables by type
tables_by_type = defaultdict(list)  # defaultdicts have a default value that is inserted when a new key is accessed
for tbl in tables:
    tables_by_type[table_type(tbl)].append(tbl)

print tables_by_type


defaultdict(<type 'list'>, {u'Country or territory': [Element(tag='table'), Element(tag='table'), Element(tag='table')], u'(Sub)continent': [Element(tag='table'), Element(tag='table'), Element(tag='table')]})

Extracting data and filling it into a dictionary


In [7]:
def get_countries_population(tables):
    """Extract population data for countries from all tables and store it in dictionary."""
    
    result = defaultdict(dict)

    # 1. step: try to extract data for a single table

    # 2. step: iterate over all tables, extract headings and actual data and combine data into single dict
    
    for tbl in tables:
        # extract column headers    
        # each table looks a little different, therefore extract columns that store data (i.e., table header is a year)
        tbl_headers = [ th.content for th in tbl.by_tag('th')]
        column_idx_years = [(idx, int(header)) for idx, header in enumerate(tbl_headers) if header.isnumeric()]
        column_idx, column_years = zip(*column_idx_years)
        
        # extract data from table
    
        # get table rows - but skip the ones that have no td element
        tbl_rows = [ row for row in tbl.by_tag('tr') if row.by_tag('td') ]
        #print len(trs)
        #print trs[0]
    
        for row in tbl_rows:
    
            #datarow = [td.content for td in tr.by_tag('td')]
            #print datarow
        
            # get country name - 2nd td, a href, convert unicode to string
            countryname = (row.by_tag('td')[1].by_tag('a')[0].content).encode('ascii','ignore') 
            #print type(countryname)
            #print countryname
        
            # get country data - create a dictionary {1955: 10000, 1960: 14000,...}
            # extract data from the columns in column_idx; strip commas from numers; scale number to millions
            countrydata = {column_years[i]:int(row.by_tag('td')[idx].content.replace(',', ''))/1000.0 for i,idx in enumerate(column_idx) }
            #print datarow
            
            # append to dictionary
            result[countryname].update(countrydata)
    
    return result


result = get_countries_population(tables_by_type['Country or territory'])
print result


defaultdict(<type 'dict'>, {'Canada': {1985: 25.942, 2050: 41.136, 1955: 16.05, 2020: 36.387, 1990: 27.791, 1960: 18.267, 2025: 37.559, 1995: 29.691, 1965: 20.071, 2030: 38.565, 2000: 31.1, 1970: 21.75, 2035: 39.396, 2005: 32.386, 1975: 23.209, 2040: 40.07, 2010: 33.76, 1980: 24.593, 2045: 40.635, 1950: 14.011, 2015: 35.1}, 'Saint Martin': {1985: 0.015, 2050: 0.035, 1955: 0.004, 2020: 0.033, 1990: 0.03, 1960: 0.004, 2025: 0.033, 1995: 0.033, 1965: 0.005, 2030: 0.033, 2000: 0.028, 1970: 0.005, 2035: 0.034, 2005: 0.028, 1975: 0.006, 2040: 0.034, 2010: 0.03, 1980: 0.008, 2045: 0.034, 1950: 0.003, 2015: 0.032}, 'Guinea-Bissau': {1985: 0.885, 2050: 2.895, 1955: 0.592, 2020: 1.893, 1990: 0.996, 1960: 0.617, 2025: 2.061, 1995: 1.143, 1965: 0.604, 2030: 2.231, 2000: 1.279, 1970: 0.62, 2035: 2.4, 2005: 1.414, 1975: 0.681, 2040: 2.568, 2010: 1.565, 1980: 0.789, 2045: 2.733, 1950: 0.573, 2015: 1.726}, 'Lithuania': {1985: 3.587, 2050: 2.788, 1955: 2.614, 2020: 3.435, 1990: 3.695, 1960: 2.765, 2025: 3.356, 1995: 3.674, 1965: 2.959, 2030: 3.257, 2000: 3.654, 1970: 3.138, 2035: 3.147, 2005: 3.597, 1975: 3.305, 2040: 3.031, 2010: 3.545, 1980: 3.435, 2045: 2.912, 1950: 2.553, 2015: 3.495}, 'Cambodia': {1985: 7.841, 2050: 22.339, 1955: 5.049, 2020: 16.927, 1990: 9.368, 1960: 5.761, 2025: 18.038, 1995: 11.234, 1965: 6.602, 2030: 19.031, 2000: 12.351, 1970: 7.394, 2035: 19.945, 2005: 13.297, 1975: 7.5, 2040: 20.809, 2010: 14.454, 1980: 6.889, 2045: 21.618, 1950: 4.471, 2015: 15.709}, 'Saint Helena, Ascension and Tristan da Cunha': {1985: 0.008, 2050: 0.007, 1955: 0.005, 2020: 0.008, 1990: 0.007, 1960: 0.005, 2025: 0.008, 1995: 0.007, 1965: 0.005, 2030: 0.008, 2000: 0.007, 1970: 0.006, 2035: 0.008, 2005: 0.007, 1975: 0.006, 2040: 0.008, 2010: 0.008, 1980: 0.006, 2045: 0.008, 1950: 0.005, 2015: 0.008}, 'Ethiopia': {1985: 42.227, 2050: 278.283, 1955: 21.99, 2020: 120.42, 1990: 48.397, 1960: 24.169, 2025: 140.14, 1995: 55.55, 1965: 26.74, 2030: 162.49, 2000: 64.165, 1970: 29.469, 2035: 187.581, 2005: 74.98, 1975: 32.976, 2040: 215.354, 2010: 88.013, 1980: 36.036, 2045: 245.655, 1950: 20.175, 2015: 103.134}, 'Aruba': {1985: 0.062, 2050: 0.151, 1955: 0.054, 2020: 0.119, 1990: 0.063, 1960: 0.057, 2025: 0.126, 1995: 0.08, 1965: 0.059, 2030: 0.132, 2000: 0.09, 1970: 0.059, 2035: 0.137, 2005: 0.097, 1975: 0.059, 2040: 0.142, 2010: 0.105, 1980: 0.06, 2045: 0.147, 1950: 0.05, 2015: 0.112}, 'Swaziland': {1985: 0.722, 2050: 1.834, 1955: 0.311, 2020: 1.513, 1990: 0.882, 1960: 0.352, 2025: 1.585, 1995: 1.004, 1965: 0.399, 2030: 1.651, 2000: 1.144, 1970: 0.455, 2035: 1.708, 2005: 1.259, 1975: 0.521, 2040: 1.756, 2010: 1.354, 1980: 0.611, 2045: 1.798, 1950: 0.277, 2015: 1.436}, 'Argentina': {1985: 30.672, 2050: 53.511, 1955: 18.928, 2020: 45.379, 1990: 33.036, 1960: 20.616, 2025: 47.165, 1995: 35.274, 1965: 22.283, 2030: 48.795, 2000: 37.336, 1970: 23.962, 2035: 50.273, 2005: 39.181, 1975: 26.082, 2040: 51.573, 2010: 41.343, 1980: 28.37, 2045: 52.663, 1950: 17.15, 2015: 43.432}, 'Bolivia': {1985: 5.935, 2050: 16.004, 1955: 3.074, 2020: 11.64, 1990: 6.574, 1960: 3.434, 2025: 12.463, 1995: 7.375, 1965: 3.853, 2030: 13.262, 2000: 8.195, 1970: 4.346, 2035: 14.024, 2005: 9.073, 1975: 4.914, 2040: 14.739, 2010: 9.947, 1980: 5.441, 2045: 15.401, 1950: 2.766, 2015: 10.801}, 'Cameroon': {1985: 10.191, 2050: 34.909, 1955: 5.211, 2020: 23.471, 1990: 11.884, 1960: 5.609, 2025: 25.522, 1995: 13.603, 1965: 6.104, 2030: 27.531, 2000: 15.343, 1970: 6.727, 2035: 29.487, 2005: 17.261, 1975: 7.522, 2040: 31.371, 2010: 19.294, 1980: 8.762, 2045: 33.174, 1950: 4.888, 2015: 21.387}, 'Burkina Faso': {1985: 7.171, 2050: 47.43, 1955: 4.614, 2020: 21.978, 1990: 8.361, 1960: 4.866, 2025: 25.385, 1995: 9.903, 1965: 5.032, 2030: 29.153, 2000: 11.588, 1970: 5.304, 2035: 33.27, 2005: 13.904, 1975: 5.673, 2040: 37.714, 2010: 16.242, 1980: 6.318, 2045: 42.448, 1950: 4.376, 2015: 18.932}, 'Turkmenistan': {1985: 3.24, 2050: 6.607, 1955: 1.348, 2020: 5.529, 1990: 3.658, 1960: 1.585, 2025: 5.8, 1995: 4.079, 1965: 1.882, 2030: 6.027, 2000: 4.385, 1970: 2.181, 2035: 6.209, 2005: 4.664, 1975: 2.524, 2040: 6.363, 2010: 4.941, 1980: 2.875, 2045: 6.497, 1950: 1.204, 2015: 5.231}, 'Ghana': {1985: 13.229, 2050: 40.243, 1955: 6.049, 2020: 28.784, 1990: 15.408, 1960: 6.958, 2025: 30.919, 1995: 17.704, 1965: 8.01, 2030: 32.989, 2000: 19.752, 1970: 8.789, 2035: 34.984, 2005: 22.062, 1975: 10.117, 2040: 36.872, 2010: 24.34, 1980: 11.011, 2045: 38.63, 1950: 5.297, 2015: 26.585}, 'Saudi Arabia': {1985: 13.33, 2050: 40.251, 1955: 4.243, 2020: 29.819, 1990: 16.061, 1960: 4.718, 2025: 31.877, 1995: 18.755, 1965: 5.327, 2030: 33.825, 2000: 21.312, 1970: 6.109, 2035: 35.614, 2005: 23.642, 1975: 7.208, 2040: 37.25, 2010: 25.732, 1980: 10.022, 2045: 38.781, 1950: 3.86, 2015: 27.752}, 'Saint Barthlemy': {1985: 0.004, 2050: 0.007, 1955: 0.002, 2020: 0.007, 1990: 0.005, 1960: 0.002, 2025: 0.007, 1995: 0.006, 1965: 0.002, 2030: 0.007, 2000: 0.007, 1970: 0.002, 2035: 0.007, 2005: 0.008, 1975: 0.003, 2040: 0.007, 2010: 0.007, 1980: 0.003, 2045: 0.007, 1950: 0.002, 2015: 0.007}, 'Japan': {1985: 120.754, 2050: 107.21, 1955: 89.815, 2020: 125.507, 1990: 123.537, 1960: 94.092, 2025: 123.386, 1995: 125.327, 1965: 98.883, 2030: 120.751, 2000: 126.776, 1970: 104.345, 2035: 117.747, 2005: 127.715, 1975: 111.573, 2040: 114.448, 2010: 127.579, 1980: 116.807, 2045: 110.907, 1950: 83.805, 2015: 126.92}, 'Cape Verde': {1985: 0.317, 2050: 0.742, 1955: 0.169, 2020: 0.583, 1990: 0.34, 1960: 0.197, 2025: 0.619, 1995: 0.385, 1965: 0.232, 2030: 0.652, 2000: 0.43, 1970: 0.269, 2035: 0.68, 2005: 0.471, 1975: 0.28, 2040: 0.705, 2010: 0.509, 1980: 0.296, 2045: 0.725, 1950: 0.146, 2015: 0.546}, 'Northern Mariana Islands': {1985: 0.021, 2050: 0.066, 1955: 0.007, 2020: 0.049, 1990: 0.044, 1960: 0.009, 2025: 0.053, 1995: 0.057, 1965: 0.01, 2030: 0.056, 2000: 0.07, 1970: 0.012, 2035: 0.059, 2005: 0.071, 1975: 0.015, 2040: 0.061, 2010: 0.048, 1980: 0.017, 2045: 0.064, 1950: 0.006, 2015: 0.044}, 'Slovenia': {1985: 1.914, 2050: 1.597, 1955: 1.517, 2020: 1.951, 1990: 1.991, 1960: 1.558, 2025: 1.908, 1995: 2.003, 1965: 1.62, 2030: 1.855, 2000: 2.011, 1970: 1.676, 2035: 1.798, 2005: 2.011, 1975: 1.722, 2040: 1.735, 2010: 2.003, 1980: 1.833, 2045: 1.668, 1950: 1.468, 2015: 1.983}, 'Guatemala': {1985: 7.581, 2050: 22.995, 1955: 3.487, 2020: 16.264, 1990: 8.966, 1960: 4.1, 2025: 17.564, 1995: 10.028, 1965: 4.746, 2030: 18.798, 2000: 11.085, 1970: 5.264, 2035: 19.96, 2005: 12.183, 1975: 5.91, 2040: 21.048, 2010: 13.55, 1980: 6.65, 2045: 22.062, 1950: 2.969, 2015: 14.919}, 'Bosnia and Herzegovina': {1985: 4.275, 2050: 3.892, 1955: 2.974, 2020: 4.592, 1990: 4.424, 1960: 3.24, 2025: 4.535, 1995: 3.709, 1965: 3.493, 2030: 4.448, 2000: 4.035, 1970: 3.703, 2035: 4.335, 2005: 4.43, 1975: 3.98, 2040: 4.203, 2010: 4.622, 1980: 4.092, 2045: 4.055, 1950: 2.662, 2015: 4.618}, 'Kuwait': {1985: 1.733, 2050: 3.863, 1955: 0.187, 2020: 2.994, 1990: 2.131, 1960: 0.292, 2025: 3.169, 1995: 1.664, 1965: 0.476, 2030: 3.331, 2000: 1.972, 1970: 0.748, 2035: 3.482, 2005: 2.257, 1975: 1.007, 2040: 3.623, 2010: 2.543, 1980: 1.37, 2045: 3.751, 1950: 0.145, 2015: 2.789}, 'Jordan': {1985: 2.63, 2050: 11.243, 1955: 0.687, 2020: 7.278, 1990: 3.267, 1960: 0.849, 2025: 7.945, 1995: 4.176, 1965: 1.061, 2030: 8.611, 2000: 4.688, 1970: 1.503, 2035: 9.282, 2005: 5.245, 1975: 1.803, 2040: 9.954, 2010: 6.407, 1980: 2.163, 2045: 10.614, 1950: 0.561, 2015: 6.623}, 'Dominica': {1985: 0.073, 2050: 0.065, 1955: 0.057, 2020: 0.074, 1990: 0.07, 1960: 0.06, 2025: 0.074, 1995: 0.071, 1965: 0.064, 2030: 0.074, 2000: 0.071, 1970: 0.07, 2035: 0.072, 2005: 0.072, 1975: 0.074, 2040: 0.07, 2010: 0.073, 1980: 0.074, 2045: 0.068, 1950: 0.051, 2015: 0.074}, 'Liberia': {1985: 2.162, 2050: 8.192, 1955: 0.928, 2020: 4.727, 1990: 2.139, 1960: 1.055, 2025: 5.284, 1995: 1.9, 1965: 1.209, 2030: 5.862, 2000: 2.601, 1970: 1.397, 2035: 6.452, 2005: 2.93, 1975: 1.617, 2040: 7.042, 2010: 3.685, 1980: 1.857, 2045: 7.625, 1950: 0.824, 2015: 4.196}, 'Congo (Kinshasa)': {1985: 33.348, 2050: 144.805, 1955: 14.953, 2020: 89.25, 1990: 39.151, 1960: 16.61, 2025: 99.162, 1995: 46.705, 1965: 18.856, 2030: 108.872, 2000: 52.445, 1970: 21.781, 2035: 118.299, 2005: 60.698, 1975: 25.032, 2040: 127.439, 2010: 69.851, 1980: 29.011, 2045: 136.284, 1950: 13.569, 2015: 79.375}, 'Jamaica': {1985: 2.318, 2050: 3.555, 1955: 1.489, 2020: 3.051, 1990: 2.347, 1960: 1.632, 2025: 3.152, 1995: 2.469, 1965: 1.777, 2030: 3.246, 2000: 2.616, 1970: 1.944, 2035: 3.331, 2005: 2.737, 1975: 2.105, 2040: 3.41, 2010: 2.847, 1980: 2.229, 2045: 3.484, 1950: 1.385, 2015: 2.95}, 'Oman': {1985: 1.497, 2050: 5.402, 1955: 0.54, 2020: 3.635, 1990: 1.794, 1960: 0.601, 2025: 3.981, 1995: 2.139, 1965: 0.682, 2030: 4.305, 2000: 2.432, 1970: 0.783, 2035: 4.601, 2005: 2.697, 1975: 0.92, 2040: 4.879, 2010: 2.968, 1980: 1.185, 2045: 5.147, 1950: 0.489, 2015: 3.287}, 'Tanzania': {1985: 21.618, 2050: 66.843, 1955: 8.971, 2020: 49.989, 1990: 25.214, 1960: 10.26, 2025: 53.428, 1995: 29.753, 1965: 11.87, 2030: 56.53, 2000: 33.712, 1970: 13.807, 2035: 59.397, 2005: 37.771, 1975: 16.148, 2040: 62.068, 2010: 41.893, 1980: 18.665, 2045: 64.548, 1950: 7.935, 2015: 46.123}, 'United States Virgin Islands': {1985: 0.101, 2050: 0.092, 1955: 0.028, 2020: 0.108, 1990: 0.104, 1960: 0.033, 2025: 0.107, 1995: 0.108, 1965: 0.044, 2030: 0.105, 2000: 0.109, 1970: 0.063, 2035: 0.102, 2005: 0.11, 1975: 0.094, 2040: 0.099, 2010: 0.11, 1980: 0.1, 2045: 0.096, 1950: 0.027, 2015: 0.109}, 'Greenland': {1985: 0.053, 2050: 0.049, 1955: 0.027, 2020: 0.058, 1990: 0.056, 1960: 0.032, 2025: 0.057, 1995: 0.056, 1965: 0.039, 2030: 0.056, 2000: 0.057, 1970: 0.046, 2035: 0.055, 2005: 0.058, 1975: 0.05, 2040: 0.053, 2010: 0.058, 1980: 0.05, 2045: 0.051, 1950: 0.022, 2015: 0.058}, 'Gabon': {1985: 0.833, 2050: 3.23, 1955: 0.429, 2020: 1.877, 1990: 0.938, 1960: 0.446, 2025: 2.063, 1995: 1.069, 1965: 0.474, 2030: 2.266, 2000: 1.236, 1970: 0.515, 2035: 2.484, 2005: 1.396, 1975: 0.647, 2040: 2.717, 2010: 1.545, 1980: 0.714, 2045: 2.965, 1950: 0.416, 2015: 1.705}, 'Saint Pierre and Miquelon': {1985: 0.006, 2050: 0.004, 1955: 0.005, 2020: 0.005, 1990: 0.006, 1960: 0.005, 2025: 0.005, 1995: 0.006, 1965: 0.005, 2030: 0.005, 2000: 0.006, 1970: 0.005, 2035: 0.004, 2005: 0.006, 1975: 0.006, 2040: 0.004, 2010: 0.006, 1980: 0.006, 2045: 0.004, 1950: 0.005, 2015: 0.006}, 'Monaco': {1985: 0.028, 2050: 0.03, 1955: 0.018, 2020: 0.031, 1990: 0.03, 1960: 0.021, 2025: 0.032, 1995: 0.031, 1965: 0.022, 2030: 0.032, 2000: 0.032, 1970: 0.024, 2035: 0.033, 2005: 0.031, 1975: 0.025, 2040: 0.032, 2010: 0.031, 1980: 0.027, 2045: 0.031, 1950: 0.018, 2015: 0.031}, 'Wallis and Futuna': {1985: 0.013, 2050: 0.016, 1955: 0.007, 2020: 0.016, 1990: 0.013, 1960: 0.008, 2025: 0.016, 1995: 0.014, 1965: 0.008, 2030: 0.016, 2000: 0.015, 1970: 0.009, 2035: 0.016, 2005: 0.015, 1975: 0.009, 2040: 0.016, 2010: 0.015, 1980: 0.011, 2045: 0.016, 1950: 0.007, 2015: 0.016}, 'New Zealand': {1985: 3.324, 2050: 5.199, 1955: 2.136, 2020: 4.615, 1990: 3.414, 1960: 2.372, 2025: 4.776, 1995: 3.642, 1965: 2.64, 2030: 4.913, 2000: 3.802, 1970: 2.828, 2035: 5.023, 2005: 4.048, 1975: 3.118, 2040: 5.105, 2010: 4.252, 1980: 3.17, 2045: 5.163, 1950: 1.908, 2015: 4.438}, 'Yemen': {1985: 10.54, 2050: 45.781, 1955: 5.265, 2020: 29.727, 1990: 12.416, 1960: 5.872, 2025: 32.65, 1995: 14.862, 1965: 6.51, 2030: 35.473, 2000: 17.407, 1970: 7.098, 2035: 38.227, 2005: 20.345, 1975: 7.934, 2040: 40.901, 2010: 23.495, 1980: 9.133, 2045: 43.436, 1950: 4.777, 2015: 26.667}, 'Jersey': {1985: 0.08, 2050: 0.108, 1955: 0.06, 2020: 0.101, 1990: 0.084, 1960: 0.063, 2025: 0.104, 1995: 0.085, 1965: 0.066, 2030: 0.106, 2000: 0.087, 1970: 0.069, 2035: 0.107, 2005: 0.088, 1975: 0.072, 2040: 0.108, 2010: 0.093, 1980: 0.076, 2045: 0.108, 1950: 0.057, 2015: 0.097}, 'Andorra': {1985: 0.045, 2050: 0.075, 1955: 0.006, 2020: 0.086, 1990: 0.053, 1960: 0.008, 2025: 0.085, 1995: 0.063, 1965: 0.014, 2030: 0.084, 2000: 0.065, 1970: 0.02, 2035: 0.083, 2005: 0.076, 1975: 0.027, 2040: 0.081, 2010: 0.085, 1980: 0.034, 2045: 0.078, 1950: 0.006, 2015: 0.086}, 'Albania': {1985: 2.957, 2050: 2.824, 1955: 1.392, 2020: 3.075, 1990: 3.245, 1960: 1.623, 2025: 3.105, 1995: 3.158, 1965: 1.884, 2030: 3.103, 2000: 3.158, 1970: 2.157, 2035: 3.062, 2005: 3.025, 1975: 2.401, 2040: 2.994, 2010: 2.987, 1980: 2.671, 2045: 2.912, 1950: 1.227, 2015: 3.029}, 'Samoa': {1985: 0.161, 2050: 0.245, 1955: 0.094, 2020: 0.204, 1990: 0.163, 1960: 0.11, 2025: 0.21, 1995: 0.169, 1965: 0.127, 2030: 0.217, 2000: 0.176, 1970: 0.142, 2035: 0.225, 2005: 0.184, 1975: 0.151, 2040: 0.232, 2010: 0.192, 1980: 0.159, 2045: 0.238, 1950: 0.082, 2015: 0.198}, 'Macau': {1985: 0.306, 2050: 0.62, 1955: 0.193, 2020: 0.614, 1990: 0.352, 1960: 0.186, 2025: 0.63, 1995: 0.401, 1965: 0.224, 2030: 0.64, 2000: 0.432, 1970: 0.261, 2035: 0.643, 2005: 0.474, 1975: 0.254, 2040: 0.641, 2010: 0.568, 1980: 0.256, 2045: 0.633, 1950: 0.205, 2015: 0.593}, 'United Arab Emirates': {1985: 1.363, 2050: 8.019, 1955: 0.083, 2020: 6.495, 1990: 1.826, 1960: 0.103, 2025: 7.063, 1995: 2.458, 1965: 0.144, 2030: 7.484, 2000: 3.219, 1970: 0.249, 2035: 7.773, 2005: 4.087, 1975: 0.523, 2040: 7.948, 2010: 4.976, 1980: 1.0, 2045: 8.024, 1950: 0.072, 2015: 5.78}, 'Guam': {1985: 0.121, 2050: 0.244, 1955: 0.069, 2020: 0.204, 1990: 0.134, 1960: 0.067, 2025: 0.214, 1995: 0.144, 1965: 0.074, 2030: 0.223, 2000: 0.155, 1970: 0.086, 2035: 0.23, 2005: 0.169, 1975: 0.102, 2040: 0.236, 2010: 0.181, 1980: 0.107, 2045: 0.241, 1950: 0.06, 2015: 0.193}, 'India': {1985: 759.612, 2050: 1656.554, 1955: 404.268, 2020: 1326.093, 1990: 838.159, 1960: 445.393, 2025: 1396.046, 1995: 920.585, 1965: 494.964, 2030: 1460.743, 2000: 1006.3, 1970: 553.889, 2035: 1519.491, 2005: 1090.973, 1975: 618.923, 2040: 1571.715, 2010: 1173.108, 1980: 684.888, 2045: 1617.238, 1950: 369.88, 2015: 1251.696}, 'Azerbaijan': {1985: 6.845, 2050: 11.21, 1955: 3.314, 2020: 10.206, 1990: 7.497, 1960: 3.882, 2025: 10.534, 1995: 8.051, 1965: 4.567, 2030: 10.781, 2000: 8.463, 1970: 5.169, 2035: 10.974, 2005: 8.825, 1975: 5.696, 2040: 11.117, 2010: 9.302, 1980: 6.198, 2045: 11.201, 1950: 2.885, 2015: 9.781}, 'Lesotho': {1985: 1.552, 2050: 1.92, 1955: 0.786, 2020: 1.969, 1990: 1.703, 1960: 0.859, 2025: 1.971, 1995: 1.848, 1965: 0.952, 2030: 1.952, 2000: 1.916, 1970: 1.067, 2035: 1.926, 2005: 1.922, 1975: 1.195, 2040: 1.907, 2010: 1.92, 1980: 1.359, 2045: 1.905, 1950: 0.726, 2015: 1.948}, 'Congo (Brazzaville)': {1985: 1.942, 2050: 9.599, 1955: 0.904, 2020: 5.444, 1990: 2.266, 1960: 1.002, 2025: 6.162, 1995: 2.65, 1965: 1.124, 2030: 6.884, 2000: 3.104, 1970: 1.272, 2035: 7.594, 2005: 3.604, 1975: 1.454, 2040: 8.284, 2010: 4.126, 1980: 1.674, 2045: 8.952, 1950: 0.826, 2015: 4.755}, 'Saint Vincent and the Grenadines': {1985: 0.104, 2050: 0.094, 1955: 0.075, 2020: 0.101, 1990: 0.107, 1960: 0.081, 2025: 0.1, 1995: 0.109, 1965: 0.085, 2030: 0.099, 2000: 0.108, 1970: 0.088, 2035: 0.098, 2005: 0.106, 1975: 0.092, 2040: 0.097, 2010: 0.104, 1980: 0.098, 2045: 0.095, 1950: 0.066, 2015: 0.103}, 'So Tom and Prncipe': {1985: 0.104, 2050: 0.309, 1955: 0.06, 2020: 0.211, 1990: 0.116, 1960: 0.063, 2025: 0.227, 1995: 0.127, 1965: 0.069, 2030: 0.244, 2000: 0.141, 1970: 0.074, 2035: 0.26, 2005: 0.158, 1975: 0.082, 2040: 0.277, 2010: 0.176, 1980: 0.094, 2045: 0.293, 1950: 0.06, 2015: 0.194}, 'Kenya': {1985: 19.762, 2050: 70.755, 1955: 7.034, 2020: 49.858, 1990: 23.361, 1960: 8.157, 2025: 53.196, 1995: 27.163, 1965: 9.549, 2030: 56.552, 2000: 30.606, 1970: 11.247, 2035: 60.243, 2005: 35.246, 1975: 13.433, 2040: 64.059, 2010: 40.843, 1980: 16.331, 2045: 67.608, 1950: 6.121, 2015: 45.925}, 'South Korea': {1985: 40.806, 2050: 43.369, 1955: 21.552, 2020: 49.362, 1990: 42.869, 1960: 24.784, 2025: 49.372, 1995: 45.105, 1965: 28.705, 2030: 49.003, 2000: 46.839, 1970: 32.241, 2035: 48.172, 2005: 48.005, 1975: 35.281, 2040: 46.911, 2010: 48.636, 1980: 38.124, 2045: 45.284, 1950: 20.846, 2015: 49.115}, 'Tajikistan': {1985: 4.569, 2050: 12.132, 1955: 1.781, 2020: 8.874, 1990: 5.272, 1960: 2.081, 2025: 9.51, 1995: 5.678, 1965: 2.511, 2030: 10.103, 2000: 6.23, 1970: 2.939, 2035: 10.667, 2005: 6.815, 1975: 3.449, 2040: 11.203, 2010: 7.487, 1980: 3.966, 2045: 11.696, 1950: 1.53, 2015: 8.192}, 'Turkey': {1985: 50.997, 2050: 100.955, 1955: 24.145, 2020: 86.757, 1990: 56.561, 1960: 28.217, 2025: 90.498, 1995: 61.94, 1965: 31.951, 2030: 93.743, 2000: 67.329, 1970: 35.758, 2035: 96.468, 2005: 72.674, 1975: 40.53, 2040: 98.601, 2010: 77.804, 1980: 45.048, 2045: 100.101, 1950: 21.122, 2015: 82.523}, 'Afghanistan': {1985: 13.12, 2050: 63.795, 1955: 8.891, 2020: 36.644, 1990: 13.568, 1960: 9.829, 2025: 41.117, 1995: 19.445, 1965: 10.998, 2030: 45.665, 2000: 22.461, 1970: 12.431, 2035: 50.195, 2005: 26.335, 1975: 14.132, 2040: 54.717, 2010: 29.121, 1980: 15.044, 2045: 59.255, 1950: 8.15, 2015: 32.564}, 'Bangladesh': {1985: 102.308, 2050: 250.155, 1955: 49.588, 2020: 183.109, 1990: 112.213, 1960: 54.593, 2025: 197.674, 1995: 121.442, 1965: 60.284, 2030: 211.288, 2000: 132.151, 1970: 67.331, 2035: 223.396, 2005: 144.139, 1975: 76.153, 2040: 233.778, 2010: 156.118, 1980: 87.937, 2045: 242.608, 1950: 45.646, 2015: 168.958}, 'Mauritania': {1985: 1.723, 2050: 6.536, 1955: 1.053, 2020: 4.005, 1990: 1.925, 1960: 1.117, 2025: 4.425, 1995: 2.235, 1965: 1.195, 2030: 4.851, 2000: 2.501, 1970: 1.289, 2035: 5.279, 2005: 2.838, 1975: 1.404, 2040: 5.706, 2010: 3.205, 1980: 1.545, 2045: 6.127, 1950: 1.006, 2015: 3.597}, 'Solomon Islands': {1985: 0.273, 2050: 1.016, 1955: 0.114, 2020: 0.685, 1990: 0.321, 1960: 0.126, 2025: 0.747, 1995: 0.375, 1965: 0.143, 2030: 0.808, 2000: 0.434, 1970: 0.163, 2035: 0.866, 2005: 0.496, 1975: 0.193, 2040: 0.92, 2010: 0.559, 1980: 0.231, 2045: 0.971, 1950: 0.107, 2015: 0.622}, 'Turks and Caicos Islands': {1985: 0.009, 2050: 0.084, 1955: 0.005, 2020: 0.056, 1990: 0.012, 1960: 0.006, 2025: 0.061, 1995: 0.015, 1965: 0.006, 2030: 0.066, 2000: 0.019, 1970: 0.006, 2035: 0.071, 2005: 0.028, 1975: 0.006, 2040: 0.076, 2010: 0.043, 1980: 0.007, 2045: 0.08, 1950: 0.005, 2015: 0.05}, 'Saint Lucia': {1985: 0.131, 2050: 0.162, 1955: 0.086, 2020: 0.166, 1990: 0.138, 1960: 0.088, 2025: 0.169, 1995: 0.146, 1965: 0.094, 2030: 0.17, 2000: 0.153, 1970: 0.103, 2035: 0.17, 2005: 0.157, 1975: 0.112, 2040: 0.169, 2010: 0.161, 1980: 0.122, 2045: 0.166, 1950: 0.079, 2015: 0.164}, 'Gaza Strip': {1985: 0.532, 2050: 3.393, 1955: 0.266, 2020: 2.121, 1990: 0.646, 1960: 0.308, 2025: 2.35, 1995: 0.886, 1965: 0.35, 2030: 2.565, 2000: 1.13, 1970: 0.343, 2035: 2.778, 2005: 1.35, 1975: 0.395, 2040: 2.992, 2010: 1.604, 1980: 0.456, 2045: 3.201, 1950: 0.245, 2015: 1.869}, 'San Marino': {1985: 0.023, 2050: 0.035, 1955: 0.014, 2020: 0.034, 1990: 0.023, 1960: 0.015, 2025: 0.035, 1995: 0.025, 1965: 0.017, 2030: 0.036, 2000: 0.027, 1970: 0.019, 2035: 0.036, 2005: 0.03, 1975: 0.02, 2040: 0.036, 2010: 0.031, 1980: 0.021, 2045: 0.036, 1950: 0.013, 2015: 0.033}, 'Kyrgyzstan': {1985: 4.006, 2050: 8.238, 1955: 1.901, 2020: 6.314, 1990: 4.382, 1960: 2.171, 2025: 6.679, 1995: 4.532, 1965: 2.573, 2030: 7.014, 2000: 4.851, 1970: 2.964, 2035: 7.34, 2005: 5.146, 1975: 3.301, 2040: 7.662, 2010: 5.509, 1980: 3.623, 2045: 7.967, 1950: 1.739, 2015: 5.913}, 'French Polynesia': {1985: 0.175, 2050: 0.325, 1955: 0.072, 2020: 0.295, 1990: 0.2, 1960: 0.081, 2025: 0.305, 1995: 0.217, 1965: 0.095, 2030: 0.314, 2000: 0.236, 1970: 0.114, 2035: 0.319, 2005: 0.254, 1975: 0.133, 2040: 0.323, 2010: 0.269, 1980: 0.151, 2045: 0.325, 1950: 0.062, 2015: 0.283}, 'France': {1985: 56.49, 2050: 69.768, 1955: 44.218, 2020: 67.518, 1990: 58.168, 1960: 46.584, 2025: 68.482, 1995: 59.712, 1965: 49.802, 2030: 69.249, 2000: 61.137, 1970: 51.918, 2035: 69.812, 2005: 62.912, 1975: 53.955, 2040: 70.1, 2010: 64.768, 1980: 55.11, 2045: 70.069, 1950: 42.518, 2015: 66.301}, 'Bermuda': {1985: 0.056, 2050: 0.07, 1955: 0.041, 2020: 0.072, 1990: 0.058, 1960: 0.044, 2025: 0.073, 1995: 0.06, 1965: 0.049, 2030: 0.073, 2000: 0.063, 1970: 0.053, 2035: 0.073, 2005: 0.066, 1975: 0.054, 2040: 0.073, 2010: 0.068, 1980: 0.055, 2045: 0.071, 1950: 0.039, 2015: 0.07}, 'Slovakia': {1985: 5.145, 2050: 4.944, 1955: 3.727, 2020: 5.494, 1990: 5.263, 1960: 3.994, 2025: 5.459, 1995: 5.362, 1965: 4.37, 2030: 5.393, 2000: 5.4, 1970: 4.524, 2035: 5.306, 2005: 5.431, 1975: 4.73, 2040: 5.202, 2010: 5.47, 1980: 4.966, 2045: 5.081, 1950: 3.463, 2015: 5.496}, 'Somalia': {1985: 6.459, 2050: 22.626, 1955: 2.673, 2020: 11.757, 1990: 6.692, 1960: 2.956, 2025: 13.274, 1995: 6.401, 1965: 3.283, 2030: 15.041, 2000: 7.501, 1970: 3.667, 2035: 16.882, 2005: 8.79, 1975: 4.128, 2040: 18.768, 2010: 9.768, 1980: 5.794, 2045: 20.684, 1950: 2.438, 2015: 10.616}, 'Peru': {1985: 19.379, 2050: 36.944, 1955: 8.672, 2020: 31.915, 1990: 21.565, 1960: 9.931, 2025: 33.283, 1995: 23.863, 1965: 11.467, 2030: 34.444, 2000: 25.797, 1970: 13.193, 2035: 35.376, 2005: 27.442, 1975: 15.161, 2040: 36.095, 2010: 28.948, 1980: 17.295, 2045: 36.618, 1950: 7.633, 2015: 30.445}, 'Laos': {1985: 3.657, 2050: 10.069, 1955: 2.077, 2020: 7.447, 1990: 4.21, 1960: 2.309, 2025: 7.972, 1995: 4.846, 1965: 2.565, 2030: 8.472, 2000: 5.397, 1970: 2.845, 2035: 8.933, 2005: 5.836, 1975: 3.161, 2040: 9.349, 2010: 6.368, 1980: 3.293, 2045: 9.726, 1950: 1.886, 2015: 6.912}, 'Nauru': {1985: 0.009, 2050: 0.012, 1955: 0.004, 2020: 0.01, 1990: 0.009, 1960: 0.004, 2025: 0.01, 1995: 0.01, 1965: 0.006, 2030: 0.01, 2000: 0.01, 1970: 0.007, 2035: 0.011, 2005: 0.01, 1975: 0.007, 2040: 0.011, 2010: 0.009, 1980: 0.008, 2045: 0.011, 1950: 0.003, 2015: 0.01}, 'Seychelles': {1985: 0.067, 2050: 0.1, 1955: 0.036, 2020: 0.096, 1990: 0.071, 1960: 0.042, 2025: 0.099, 1995: 0.075, 1965: 0.048, 2030: 0.101, 2000: 0.079, 1970: 0.054, 2035: 0.102, 2005: 0.084, 1975: 0.06, 2040: 0.102, 2010: 0.088, 1980: 0.064, 2045: 0.102, 1950: 0.033, 2015: 0.092}, 'Norway': {1985: 4.152, 2050: 4.966, 1955: 3.427, 2020: 4.836, 1990: 4.242, 1960: 3.581, 2025: 4.917, 1995: 4.359, 1965: 3.723, 2030: 4.978, 2000: 4.492, 1970: 3.877, 2035: 5.008, 2005: 4.593, 1975: 4.007, 2040: 5.008, 2010: 4.676, 1980: 4.086, 2045: 4.991, 1950: 3.265, 2015: 4.754}, 'Malawi': {1985: 7.33, 2050: 37.407, 1955: 3.088, 2020: 20.204, 1990: 9.546, 1960: 3.45, 2025: 22.86, 1995: 10.264, 1965: 3.914, 2030: 25.639, 2000: 11.802, 1970: 4.508, 2035: 28.508, 2005: 13.492, 1975: 5.317, 2040: 31.442, 2010: 15.448, 1980: 6.259, 2045: 34.419, 1950: 2.817, 2015: 17.715}, 'Cook Islands': {1985: 0.017, 2050: 0.005, 1955: 0.016, 2020: 0.009, 1990: 0.018, 1960: 0.018, 2025: 0.008, 1995: 0.018, 1965: 0.019, 2030: 0.007, 2000: 0.016, 1970: 0.021, 2035: 0.006, 2005: 0.014, 1975: 0.019, 2040: 0.006, 2010: 0.011, 1980: 0.018, 2045: 0.006, 1950: 0.015, 2015: 0.01}, 'Benin': {1985: 4.03, 2050: 22.119, 1955: 1.846, 2020: 11.956, 1990: 4.705, 1960: 2.055, 2025: 13.565, 1995: 5.647, 1965: 2.311, 2030: 15.248, 2000: 6.619, 1970: 2.62, 2035: 16.97, 2005: 7.778, 1975: 2.996, 2040: 18.703, 2010: 9.056, 1980: 3.458, 2045: 20.424, 1950: 1.673, 2015: 10.449}, 'Federated States of Micronesia': {1985: 0.091, 2050: 0.074, 1955: 0.036, 2020: 0.102, 1990: 0.109, 1960: 0.042, 2025: 0.099, 1995: 0.106, 1965: 0.049, 2030: 0.095, 2000: 0.108, 1970: 0.057, 2035: 0.09, 2005: 0.108, 1975: 0.066, 2040: 0.085, 2010: 0.107, 1980: 0.077, 2045: 0.08, 1950: 0.031, 2015: 0.105}, 'Western Sahara': {1985: 0.179, 2050: 1.173, 1955: 0.016, 2020: 0.652, 1990: 0.217, 1960: 0.028, 2025: 0.736, 1995: 0.264, 1965: 0.05, 2030: 0.821, 2000: 0.336, 1970: 0.089, 2035: 0.909, 2005: 0.415, 1975: 0.072, 2040: 0.997, 2010: 0.492, 1980: 0.124, 2045: 1.086, 1950: 0.009, 2015: 0.571}, 'Cuba': {1985: 10.065, 2050: 9.161, 1955: 6.381, 2020: 10.932, 1990: 10.507, 1960: 7.027, 2025: 10.785, 1995: 10.847, 1965: 7.81, 2030: 10.575, 2000: 11.072, 1970: 8.543, 2035: 10.298, 2005: 11.198, 1975: 9.29, 2040: 9.961, 2010: 11.098, 1980: 9.653, 2045: 9.578, 1950: 5.785, 2015: 11.031}, 'Montenegro': {1985: 0.561, 2050: 0.578, 1955: 0.432, 2020: 0.639, 1990: 0.583, 1960: 0.461, 2025: 0.636, 1995: 0.671, 1965: 0.491, 2030: 0.629, 2000: 0.732, 1970: 0.514, 2035: 0.62, 2005: 0.699, 1975: 0.549, 2040: 0.609, 2010: 0.667, 1980: 0.56, 2045: 0.595, 1950: 0.396, 2015: 0.647}, 'Saint Kitts and Nevis': {1985: 0.043, 2050: 0.056, 1955: 0.05, 2020: 0.054, 1990: 0.042, 1960: 0.051, 2025: 0.055, 1995: 0.043, 1965: 0.049, 2030: 0.057, 2000: 0.046, 1970: 0.046, 2035: 0.057, 2005: 0.048, 1975: 0.045, 2040: 0.057, 2010: 0.05, 1980: 0.044, 2045: 0.057, 1950: 0.044, 2015: 0.052}, 'Togo': {1985: 3.129, 2050: 16.584, 1955: 1.298, 2020: 8.608, 1990: 3.721, 1960: 1.456, 2025: 9.741, 1995: 4.203, 1965: 1.648, 2030: 10.952, 2000: 4.992, 1970: 1.964, 2035: 12.245, 2005: 5.715, 1975: 2.267, 2040: 13.622, 2010: 6.587, 1980: 2.626, 2045: 15.074, 1950: 1.172, 2015: 7.552}, 'China': {1985: 1058.008, 2050: 1303.723, 1955: 606.73, 2020: 1384.545, 1990: 1148.364, 1960: 650.661, 2025: 1394.639, 1995: 1216.378, 1965: 715.546, 2030: 1391.491, 2000: 1263.638, 1970: 820.403, 2035: 1378.255, 2005: 1297.765, 1975: 917.899, 2040: 1358.519, 2010: 1330.141, 1980: 984.736, 2045: 1333.892, 1950: 562.58, 2015: 1361.513}, 'Armenia': {1985: 3.374, 2050: 2.943, 1955: 1.565, 2020: 3.017, 1990: 3.377, 1960: 1.869, 2025: 3.044, 1995: 3.069, 1965: 2.206, 2030: 3.051, 2000: 3.043, 1970: 2.52, 2035: 3.042, 2005: 2.983, 1975: 2.834, 2040: 3.023, 2010: 2.967, 1980: 3.115, 2045: 2.991, 1950: 1.355, 2015: 2.984}, 'Timor-Leste': {1985: 0.652, 2050: 1.955, 1955: 0.472, 2020: 1.389, 1990: 0.746, 1960: 0.509, 2025: 1.498, 1995: 0.87, 1965: 0.553, 2030: 1.6, 2000: 0.847, 1970: 0.598, 2035: 1.695, 2005: 1.042, 1975: 0.677, 2040: 1.787, 2010: 1.155, 1980: 0.557, 2045: 1.874, 1950: 0.436, 2015: 1.272}, 'Dominican Republic': {1985: 6.379, 2050: 13.69, 1955: 2.737, 2020: 11.109, 1990: 7.084, 1960: 3.231, 2025: 11.703, 1995: 7.759, 1965: 3.806, 2030: 12.239, 2000: 8.469, 1970: 4.423, 2035: 12.705, 2005: 9.164, 1975: 5.048, 2040: 13.097, 2010: 9.824, 1980: 5.697, 2045: 13.424, 1950: 2.353, 2015: 10.479}, 'Ukraine': {1985: 50.944, 2050: 33.574, 1955: 39.368, 2020: 42.561, 1990: 51.622, 1960: 42.644, 2025: 41.038, 1995: 51.245, 1965: 45.235, 2030: 39.492, 2000: 49.005, 1970: 47.236, 2035: 37.981, 2005: 46.959, 1975: 48.973, 2040: 36.513, 2010: 45.416, 1980: 50.047, 2045: 35.054, 1950: 36.775, 2015: 44.009}, 'Bahrain': {1985: 0.423, 2050: 1.847, 1955: 0.13, 2020: 1.505, 1990: 0.506, 1960: 0.157, 2025: 1.58, 1995: 0.582, 1965: 0.191, 2030: 1.639, 2000: 0.655, 1970: 0.22, 2035: 1.7, 2005: 0.916, 1975: 0.259, 2040: 1.758, 2010: 1.18, 1980: 0.348, 2045: 1.806, 1950: 0.115, 2015: 1.347}, 'Tonga': {1985: 0.094, 2050: 0.079, 1955: 0.054, 2020: 0.106, 1990: 0.096, 1960: 0.064, 2025: 0.105, 1995: 0.097, 1965: 0.074, 2030: 0.102, 2000: 0.1, 1970: 0.083, 2035: 0.099, 2005: 0.103, 1975: 0.089, 2040: 0.094, 2010: 0.106, 1980: 0.092, 2045: 0.087, 1950: 0.046, 2015: 0.107}, 'Finland': {1985: 4.902, 2050: 4.82, 1955: 4.235, 2020: 5.272, 1990: 4.986, 1960: 4.43, 2025: 5.251, 1995: 5.105, 1965: 4.564, 2030: 5.201, 2000: 5.169, 1970: 4.606, 2035: 5.123, 2005: 5.223, 1975: 4.711, 2040: 5.027, 2010: 5.255, 1980: 4.78, 2045: 4.923, 1950: 4.009, 2015: 5.271}, 'Libya': {1985: 3.68, 2050: 10.872, 1955: 1.122, 2020: 7.759, 1990: 4.146, 1960: 1.338, 2025: 8.342, 1995: 4.663, 1965: 1.624, 2030: 8.901, 2000: 5.125, 1970: 1.999, 2035: 9.452, 2005: 5.778, 1975: 2.57, 2040: 9.981, 2010: 6.461, 1980: 3.069, 2045: 10.461, 1950: 0.961, 2015: 7.132}, 'Cayman Islands': {1985: 0.021, 2050: 0.091, 1955: 0.007, 2020: 0.062, 1990: 0.026, 1960: 0.008, 2025: 0.068, 1995: 0.032, 1965: 0.009, 2030: 0.073, 2000: 0.038, 1970: 0.01, 2035: 0.078, 2005: 0.044, 1975: 0.014, 2040: 0.083, 2010: 0.05, 1980: 0.017, 2045: 0.087, 1950: 0.006, 2015: 0.056}, 'Central African Republic': {1985: 2.714, 2050: 10.339, 1955: 1.348, 2020: 5.991, 1990: 3.085, 1960: 1.467, 2025: 6.638, 1995: 3.544, 1965: 1.628, 2030: 7.325, 2000: 3.98, 1970: 1.839, 2035: 8.045, 2005: 4.363, 1975: 2.058, 2040: 8.791, 2010: 4.845, 1980: 2.349, 2045: 9.558, 1950: 1.26, 2015: 5.392}, 'Mauritius': {1985: 1.021, 2050: 1.441, 1955: 0.572, 2020: 1.379, 1990: 1.062, 1960: 0.663, 2025: 1.412, 1995: 1.123, 1965: 0.756, 2030: 1.437, 2000: 1.186, 1970: 0.83, 2035: 1.452, 2005: 1.243, 1975: 0.885, 2040: 1.456, 2010: 1.294, 1980: 0.964, 2045: 1.452, 1950: 0.481, 2015: 1.34}, 'Liechtenstein': {1985: 0.027, 2050: 0.044, 1955: 0.015, 2020: 0.039, 1990: 0.029, 1960: 0.016, 2025: 0.041, 1995: 0.031, 1965: 0.019, 2030: 0.042, 2000: 0.033, 1970: 0.021, 2035: 0.043, 2005: 0.035, 1975: 0.023, 2040: 0.043, 2010: 0.036, 1980: 0.025, 2045: 0.043, 1950: 0.014, 2015: 0.038}, 'Australia': {1985: 15.695, 2050: 29.013, 1955: 9.277, 2020: 23.939, 1990: 16.956, 1960: 10.361, 2025: 25.054, 1995: 17.976, 1965: 11.439, 2030: 26.056, 2000: 19.053, 1970: 12.66, 2035: 26.931, 2005: 20.232, 1975: 13.771, 2040: 27.702, 2010: 21.516, 1980: 14.616, 2045: 28.39, 1950: 8.267, 2015: 22.751}, 'British Virgin Islands': {1985: 0.013, 2050: 0.06, 1955: 0.007, 2020: 0.037, 1990: 0.016, 1960: 0.007, 2025: 0.041, 1995: 0.019, 1965: 0.008, 2030: 0.045, 2000: 0.023, 1970: 0.01, 2035: 0.049, 2005: 0.026, 1975: 0.011, 2040: 0.053, 2010: 0.03, 1980: 0.011, 2045: 0.056, 1950: 0.006, 2015: 0.033}, 'Mali': {1985: 7.506, 2050: 32.367, 1955: 4.071, 2020: 17.89, 1990: 8.327, 1960: 4.495, 2025: 20.24, 1995: 9.336, 1965: 4.978, 2030: 22.69, 2000: 10.621, 1970: 5.546, 2035: 25.169, 2005: 12.134, 1975: 6.218, 2040: 27.629, 2010: 13.796, 1980: 6.822, 2045: 30.038, 1950: 3.688, 2015: 15.718}, 'Russia': {1985: 143.938, 2050: 109.187, 1955: 111.125, 2020: 132.242, 1990: 147.973, 1960: 119.632, 2025: 128.18, 1995: 148.49, 1965: 126.541, 2030: 124.094, 2000: 146.71, 1970: 130.245, 2035: 120.215, 2005: 142.776, 1975: 134.293, 2040: 116.553, 2010: 139.39, 1980: 139.039, 2045: 112.92, 1950: 101.937, 2015: 136.01}, 'Bulgaria': {1985: 8.944, 2050: 4.651, 1955: 7.499, 2020: 6.569, 1990: 8.894, 1960: 7.867, 2025: 6.258, 1995: 8.256, 1965: 8.201, 2030: 5.941, 2000: 7.818, 1970: 8.49, 2035: 5.624, 2005: 7.45, 1975: 8.721, 2040: 5.305, 2010: 7.149, 1980: 8.844, 2045: 4.981, 1950: 7.251, 2015: 6.867}, 'United States': {1985: 237.924, 2050: 422.554, 1955: 165.069, 2020: 336.836, 1990: 249.623, 1960: 179.979, 2025: 351.353, 1995: 266.278, 1965: 193.526, 2030: 365.683, 2000: 282.172, 1970: 203.984, 2035: 379.81, 2005: 295.753, 1975: 215.465, 2040: 393.856, 2010: 308.282, 1980: 227.225, 2045: 408.012, 1950: 151.868, 2015: 322.371}, 'Romania': {1985: 22.521, 2050: 18.06, 1955: 17.325, 2020: 21.303, 1990: 22.866, 1960: 18.403, 2025: 20.872, 1995: 22.687, 1965: 19.027, 2030: 20.389, 2000: 22.447, 1970: 20.253, 2035: 19.87, 2005: 22.197, 1975: 21.245, 2040: 19.313, 2010: 21.959, 1980: 22.13, 2045: 18.712, 1950: 16.311, 2015: 21.666}, 'Angola': {1985: 8.39, 2050: 45.888, 1955: 4.423, 2020: 22.484, 1990: 9.485, 1960: 4.797, 2025: 25.673, 1995: 11.0, 1965: 5.135, 2030: 29.155, 2000: 12.683, 1970: 5.606, 2035: 32.91, 2005: 14.77, 1975: 6.05, 2040: 36.948, 2010: 17.043, 1980: 7.206, 2045: 41.28, 1950: 4.118, 2015: 19.625}, 'Chad': {1985: 5.066, 2050: 20.474, 1955: 2.805, 2020: 12.756, 1990: 5.841, 1960: 3.042, 2025: 13.915, 1995: 6.77, 1965: 3.345, 2030: 15.114, 2000: 7.943, 1970: 3.727, 2035: 16.362, 2005: 9.401, 1975: 4.144, 2040: 17.658, 2010: 10.543, 1980: 4.522, 2045: 19.007, 1950: 2.608, 2015: 11.631}, 'South Africa': {1985: 34.254, 2050: 49.401, 1955: 15.369, 2020: 48.53, 1990: 38.476, 1960: 17.417, 2025: 48.714, 1995: 42.228, 1965: 19.898, 2030: 48.854, 2000: 45.064, 1970: 22.74, 2035: 48.965, 2005: 47.483, 1975: 25.815, 2040: 49.071, 2010: 49.109, 1980: 29.252, 2045: 49.21, 1950: 13.596, 2015: 48.286}, 'Cyprus': {1985: 0.679, 2050: 1.392, 1955: 0.533, 2020: 1.267, 1990: 0.745, 1960: 0.579, 2025: 1.33, 1995: 0.847, 1965: 0.6, 2030: 1.375, 2000: 0.92, 1970: 0.627, 2035: 1.402, 2005: 1.011, 1975: 0.627, 2040: 1.413, 2010: 1.103, 1980: 0.63, 2045: 1.41, 1950: 0.494, 2015: 1.189}, 'Sweden': {1985: 8.356, 2050: 9.085, 1955: 7.262, 2020: 9.245, 1990: 8.601, 1960: 7.48, 2025: 9.316, 1995: 8.878, 1965: 7.734, 2030: 9.324, 2000: 8.924, 1970: 8.043, 2035: 9.28, 2005: 9.002, 1975: 8.193, 2040: 9.212, 2010: 9.074, 1980: 8.31, 2045: 9.145, 1950: 7.014, 2015: 9.153}, 'Qatar': {1985: 0.342, 2050: 2.559, 1955: 0.035, 2020: 2.444, 1990: 0.433, 1960: 0.045, 2025: 2.563, 1995: 0.51, 1965: 0.07, 2030: 2.596, 2000: 0.64, 1970: 0.113, 2035: 2.574, 2005: 0.973, 1975: 0.165, 2040: 2.55, 2010: 1.719, 1980: 0.229, 2045: 2.548, 1950: 0.025, 2015: 2.195}, 'Malaysia': {1985: 15.649, 2050: 42.929, 1955: 7.312, 2020: 32.652, 1990: 17.882, 1960: 8.428, 2025: 34.683, 1995: 20.339, 1965: 9.648, 2030: 36.619, 2000: 23.151, 1970: 10.91, 2035: 38.447, 2005: 25.968, 1975: 12.131, 2040: 40.124, 2010: 28.275, 1980: 13.46, 2045: 41.62, 1950: 6.434, 2015: 30.514}, 'Austria': {1985: 7.56, 2050: 7.521, 1955: 6.947, 2020: 8.22, 1990: 7.723, 1960: 7.047, 2025: 8.19, 1995: 8.047, 1965: 7.271, 2030: 8.12, 2000: 8.113, 1970: 7.467, 2035: 8.009, 2005: 8.185, 1975: 7.579, 2040: 7.867, 2010: 8.214, 1980: 7.549, 2045: 7.702, 1950: 6.935, 2015: 8.224}, 'Vietnam': {1985: 60.093, 2050: 111.174, 1955: 27.738, 2020: 98.721, 1990: 67.258, 1960: 31.656, 2025: 102.459, 1995: 73.783, 1965: 37.258, 2030: 105.478, 2000: 79.178, 1970: 42.577, 2035: 107.843, 2005: 84.425, 1975: 48.075, 2040: 109.601, 2010: 89.571, 1980: 53.715, 2045: 110.717, 1950: 25.348, 2015: 94.349}, 'Mozambique': {1985: 13.293, 2050: 58.998, 1955: 6.782, 2020: 28.603, 1990: 12.989, 1960: 7.472, 2025: 32.306, 1995: 15.888, 1965: 8.301, 2030: 36.622, 2000: 17.997, 1970: 9.304, 2035: 41.434, 2005: 20.069, 1975: 10.433, 2040: 46.745, 2010: 22.417, 1980: 12.103, 2045: 52.585, 1950: 6.25, 2015: 25.303}, 'Uganda': {1985: 14.392, 2050: 128.008, 1955: 6.317, 2020: 47.691, 1990: 17.456, 1960: 7.262, 2025: 56.745, 1995: 20.69, 1965: 8.389, 2030: 67.286, 2000: 23.956, 1970: 9.743, 2035: 79.524, 2005: 28.199, 1975: 10.952, 2040: 93.632, 2010: 33.399, 1980: 12.415, 2045: 109.752, 1950: 5.522, 2015: 39.941}, 'Hungary': {1985: 10.649, 2050: 8.49, 1955: 9.825, 2020: 9.772, 1990: 10.372, 1960: 9.984, 2025: 9.615, 1995: 10.281, 1965: 10.153, 2030: 9.426, 2000: 10.147, 1970: 10.337, 2035: 9.211, 2005: 10.058, 1975: 10.532, 2040: 8.983, 2010: 9.992, 1980: 10.711, 2045: 8.742, 1950: 9.338, 2015: 9.898}, 'Niger': {1985: 6.869, 2050: 55.304, 1955: 3.559, 2020: 22.749, 1990: 7.842, 1960: 3.913, 2025: 27.063, 1995: 9.199, 1965: 4.344, 2030: 31.946, 2000: 10.951, 1970: 4.841, 2035: 37.321, 2005: 13.189, 1975: 5.419, 2040: 43.078, 2010: 15.878, 1980: 6.093, 2045: 49.107, 1950: 3.271, 2015: 19.034}, 'Isle of Man': {1985: 0.064, 2050: 0.093, 1955: 0.051, 2020: 0.09, 1990: 0.069, 1960: 0.048, 2025: 0.093, 1995: 0.072, 1965: 0.049, 2030: 0.094, 2000: 0.076, 1970: 0.053, 2035: 0.094, 2005: 0.08, 1975: 0.059, 2040: 0.094, 2010: 0.084, 1980: 0.064, 2045: 0.094, 1950: 0.055, 2015: 0.088}, 'West Bank': {1985: 1.044, 2050: 4.376, 1955: 0.788, 2020: 3.058, 1990: 1.253, 1960: 0.805, 2025: 3.328, 1995: 1.621, 1965: 0.861, 2030: 3.588, 2000: 1.98, 1970: 0.69, 2035: 3.827, 2005: 2.247, 1975: 0.806, 2040: 4.041, 2010: 2.515, 1980: 0.904, 2045: 4.225, 1950: 0.771, 2015: 2.785}, 'Brazil': {1985: 137.382, 2050: 260.692, 1955: 61.774, 2020: 222.608, 1990: 151.17, 1960: 71.695, 2025: 231.887, 1995: 163.544, 1965: 83.093, 2030: 240.173, 2000: 176.32, 1970: 95.684, 2035: 247.359, 2005: 188.993, 1975: 108.879, 2040: 253.261, 2010: 201.103, 1980: 123.02, 2045: 257.722, 1950: 53.443, 2015: 212.346}, 'Netherlands': {1985: 14.504, 2050: 17.907, 1955: 10.758, 2020: 17.28, 1990: 14.966, 1960: 11.494, 2025: 17.572, 1995: 15.476, 1965: 12.301, 2030: 17.797, 2000: 15.93, 1970: 13.043, 2035: 17.935, 2005: 16.299, 1975: 13.665, 2040: 17.982, 2010: 16.574, 1980: 14.155, 2045: 17.959, 1950: 10.121, 2015: 16.948}, 'Faroe Islands': {1985: 0.046, 2050: 0.057, 1955: 0.033, 2020: 0.052, 1990: 0.047, 1960: 0.035, 2025: 0.053, 1995: 0.044, 1965: 0.037, 2030: 0.055, 2000: 0.046, 1970: 0.039, 2035: 0.056, 2005: 0.048, 1975: 0.041, 2040: 0.056, 2010: 0.049, 1980: 0.043, 2045: 0.057, 1950: 0.032, 2015: 0.05}, 'Guinea': {1985: 5.227, 2050: 26.407, 1955: 2.787, 2020: 13.42, 1990: 6.118, 1960: 3.026, 2025: 15.241, 1995: 7.446, 1965: 3.314, 2030: 17.226, 2000: 8.35, 1970: 3.643, 2035: 19.354, 2005: 9.154, 1975: 4.019, 2040: 21.608, 2010: 10.324, 1980: 4.447, 2045: 23.966, 1950: 2.586, 2015: 11.78}, 'Panama': {1985: 2.168, 2050: 4.859, 1955: 1.011, 2020: 3.894, 1990: 2.393, 1960: 1.148, 2025: 4.118, 1995: 2.638, 1965: 1.326, 2030: 4.323, 2000: 2.9, 1970: 1.531, 2035: 4.502, 2005: 3.155, 1975: 1.749, 2040: 4.653, 2010: 3.411, 1980: 1.96, 2045: 4.773, 1950: 0.893, 2015: 3.657}, 'Costa Rica': {1985: 2.644, 2050: 6.066, 1955: 1.032, 2020: 5.098, 1990: 3.023, 1960: 1.248, 2025: 5.353, 1995: 3.445, 1965: 1.488, 2030: 5.571, 2000: 3.883, 1970: 1.736, 2035: 5.75, 2005: 4.209, 1975: 1.992, 2040: 5.891, 2010: 4.516, 1980: 2.299, 2045: 5.997, 1950: 0.867, 2015: 4.814}, 'Luxembourg': {1985: 0.367, 2050: 0.721, 1955: 0.305, 2020: 0.556, 1990: 0.383, 1960: 0.314, 2025: 0.586, 1995: 0.41, 1965: 0.332, 2030: 0.616, 2000: 0.439, 1970: 0.339, 2035: 0.644, 2005: 0.469, 1975: 0.359, 2040: 0.671, 2010: 0.498, 1980: 0.364, 2045: 0.696, 1950: 0.296, 2015: 0.527}, 'American Samoa': {1985: 0.039, 2050: 0.098, 1955: 0.02, 2020: 0.075, 1990: 0.047, 1960: 0.02, 2025: 0.079, 1995: 0.054, 1965: 0.025, 2030: 0.084, 2000: 0.058, 1970: 0.027, 2035: 0.087, 2005: 0.062, 1975: 0.03, 2040: 0.091, 2010: 0.066, 1980: 0.032, 2045: 0.095, 1950: 0.019, 2015: 0.071}, 'Bahamas': {1985: 0.228, 2050: 0.371, 1955: 0.087, 2020: 0.338, 1990: 0.245, 1960: 0.112, 2025: 0.349, 1995: 0.265, 1965: 0.139, 2030: 0.358, 2000: 0.283, 1970: 0.17, 2035: 0.365, 2005: 0.297, 1975: 0.189, 2040: 0.369, 2010: 0.31, 1980: 0.21, 2045: 0.371, 1950: 0.07, 2015: 0.325}, 'Gibraltar': {1985: 0.029, 2050: 0.028, 1955: 0.024, 2020: 0.03, 1990: 0.029, 1960: 0.024, 2025: 0.03, 1995: 0.027, 1965: 0.025, 2030: 0.03, 2000: 0.027, 1970: 0.026, 2035: 0.03, 2005: 0.028, 1975: 0.029, 2040: 0.029, 2010: 0.029, 1980: 0.029, 2045: 0.029, 1950: 0.023, 2015: 0.029}, 'Ivory Coast': {1985: 10.332, 2050: 37.112, 1955: 3.164, 2020: 25.504, 1990: 12.491, 1960: 3.576, 2025: 27.651, 1995: 14.846, 1965: 4.356, 2030: 29.724, 2000: 16.885, 1970: 5.579, 2035: 31.711, 2005: 18.921, 1975: 7.031, 2040: 33.609, 2010: 21.059, 1980: 8.593, 2045: 35.412, 1950: 2.86, 2015: 23.295}, 'Pakistan': {1985: 102.079, 2050: 290.848, 1955: 45.536, 2020: 213.719, 1990: 118.816, 1960: 51.719, 2025: 228.385, 1995: 134.185, 1965: 59.046, 2030: 242.862, 2000: 152.429, 1970: 67.491, 2035: 256.593, 2005: 169.279, 1975: 76.456, 2040: 269.151, 2010: 184.405, 1980: 85.219, 2045: 280.552, 1950: 40.382, 2015: 199.086}, 'Palau': {1985: 0.014, 2050: 0.023, 1955: 0.008, 2020: 0.022, 1990: 0.015, 1960: 0.009, 2025: 0.022, 1995: 0.017, 1965: 0.011, 2030: 0.022, 2000: 0.019, 1970: 0.012, 2035: 0.023, 2005: 0.02, 1975: 0.013, 2040: 0.023, 2010: 0.021, 1980: 0.013, 2045: 0.023, 1950: 0.007, 2015: 0.021}, 'Nigeria': {1985: 84.898, 2050: 402.426, 1955: 35.955, 2020: 207.699, 1990: 96.69, 1960: 41.55, 2025: 234.363, 1995: 109.833, 1965: 48.068, 2030: 263.626, 2000: 124.207, 1970: 55.59, 2035: 295.349, 2005: 141.852, 1975: 64.428, 2040: 329.227, 2010: 161.605, 1980: 74.829, 2045: 364.986, 1950: 31.797, 2015: 183.529}, 'Ecuador': {1985: 9.062, 2050: 21.103, 1955: 3.842, 2020: 16.905, 1990: 10.318, 1960: 4.416, 2025: 17.868, 1995: 11.266, 1965: 5.118, 2030: 18.743, 2000: 12.446, 1970: 5.939, 2035: 19.513, 2005: 13.662, 1975: 6.872, 2040: 20.165, 2010: 14.791, 1980: 7.92, 2045: 20.694, 1950: 3.37, 2015: 15.868}, 'Czech Republic': {1985: 10.31, 2050: 8.54, 1955: 9.366, 2020: 10.013, 1990: 10.31, 1960: 9.66, 2025: 9.844, 1995: 10.324, 1965: 9.777, 2030: 9.629, 2000: 10.27, 1970: 9.795, 2035: 9.382, 2005: 10.241, 1975: 10.042, 2040: 9.115, 2010: 10.202, 1980: 10.289, 2045: 8.833, 1950: 8.925, 2015: 10.13}, 'Brunei': {1985: 0.218, 2050: 0.638, 1955: 0.061, 2020: 0.464, 1990: 0.253, 1960: 0.083, 2025: 0.499, 1995: 0.288, 1965: 0.102, 2030: 0.531, 2000: 0.325, 1970: 0.128, 2035: 0.562, 2005: 0.361, 1975: 0.156, 2040: 0.589, 2010: 0.395, 1980: 0.185, 2045: 0.615, 1950: 0.045, 2015: 0.43}, 'Belarus': {1985: 9.982, 2050: 7.739, 1955: 7.781, 2020: 9.249, 1990: 10.201, 1960: 8.168, 2025: 9.033, 1995: 10.205, 1965: 8.591, 2030: 8.798, 2000: 10.034, 1970: 9.027, 2035: 8.552, 2005: 9.809, 1975: 9.36, 2040: 8.296, 2010: 9.613, 1980: 9.644, 2045: 8.026, 1950: 7.722, 2015: 9.439}, 'Iran': {1985: 48.619, 2050: 100.045, 1955: 18.739, 2020: 86.543, 1990: 58.1, 1960: 21.6, 2025: 90.481, 1995: 64.217, 1965: 25.04, 2030: 93.458, 2000: 68.632, 1970: 28.994, 2035: 95.772, 2005: 72.283, 1975: 33.467, 2040: 97.685, 2010: 76.923, 1980: 39.709, 2045: 99.181, 1950: 16.357, 2015: 81.824}, 'Algeria': {1985: 22.008, 2050: 44.163, 1955: 9.842, 2020: 38.594, 1990: 25.089, 1960: 10.909, 2025: 40.29, 1995: 28.089, 1965: 11.963, 2030: 41.641, 2000: 30.429, 1970: 13.932, 2035: 42.663, 2005: 32.561, 1975: 16.14, 2040: 43.425, 2010: 34.586, 1980: 18.806, 2045: 43.94, 1950: 8.893, 2015: 36.64}, 'El Salvador': {1985: 4.671, 2050: 6.181, 1955: 2.221, 2020: 6.217, 1990: 5.11, 1960: 2.582, 2025: 6.288, 1995: 5.48, 1965: 3.018, 2030: 6.34, 2000: 5.85, 1970: 3.604, 2035: 6.353, 2005: 5.956, 1975: 4.073, 2040: 6.324, 2010: 6.052, 1980: 4.57, 2045: 6.262, 1950: 1.94, 2015: 6.141}, 'Tuvalu': {1985: 0.008, 2050: 0.013, 1955: 0.005, 2020: 0.011, 1990: 0.009, 1960: 0.005, 2025: 0.012, 1995: 0.01, 1965: 0.006, 2030: 0.012, 2000: 0.01, 1970: 0.006, 2035: 0.013, 2005: 0.01, 1975: 0.006, 2040: 0.013, 2010: 0.01, 1980: 0.007, 2045: 0.013, 1950: 0.005, 2015: 0.011}, 'Marshall Islands': {1985: 0.038, 2050: 0.103, 1955: 0.013, 2020: 0.078, 1990: 0.046, 1960: 0.015, 2025: 0.083, 1995: 0.05, 1965: 0.018, 2030: 0.088, 2000: 0.053, 1970: 0.022, 2035: 0.093, 2005: 0.059, 1975: 0.026, 2040: 0.097, 2010: 0.066, 1980: 0.031, 2045: 0.1, 1950: 0.011, 2015: 0.072}, 'Chile': {1985: 12.068, 2050: 19.387, 1955: 6.743, 2020: 18.058, 1990: 13.129, 1960: 7.585, 2025: 18.585, 1995: 14.207, 1965: 8.51, 2030: 18.984, 2000: 15.156, 1970: 9.369, 2035: 19.251, 2005: 15.995, 1975: 10.252, 2040: 19.396, 2010: 16.746, 1980: 11.094, 2045: 19.437, 1950: 6.091, 2015: 17.435}, 'Puerto Rico': {1985: 3.382, 2050: 3.68, 1955: 2.25, 2020: 4.051, 1990: 3.537, 1960: 2.358, 2025: 4.055, 1995: 3.683, 1965: 2.597, 2030: 4.032, 2000: 3.814, 1970: 2.722, 2035: 3.979, 2005: 3.911, 1975: 2.935, 2040: 3.9, 2010: 3.979, 1980: 3.21, 2045: 3.798, 1950: 2.218, 2015: 4.024}, 'Belgium': {1985: 9.858, 2050: 9.883, 1955: 8.868, 2020: 10.465, 1990: 9.969, 1960: 9.119, 2025: 10.453, 1995: 10.155, 1965: 9.448, 2030: 10.41, 2000: 10.264, 1970: 9.638, 2035: 10.327, 2005: 10.364, 1975: 9.795, 2040: 10.206, 2010: 10.423, 1980: 9.847, 2045: 10.054, 1950: 8.639, 2015: 10.454}, 'Kiribati': {1985: 0.062, 2050: 0.14, 1955: 0.037, 2020: 0.112, 1990: 0.071, 1960: 0.041, 2025: 0.118, 1995: 0.077, 1965: 0.045, 2030: 0.123, 2000: 0.085, 1970: 0.049, 2035: 0.129, 2005: 0.093, 1975: 0.053, 2040: 0.133, 2010: 0.099, 1980: 0.058, 2045: 0.137, 1950: 0.033, 2015: 0.106}, 'Haiti': {1985: 6.12, 2050: 13.353, 1955: 3.365, 2020: 10.693, 1990: 6.798, 1960: 3.697, 2025: 11.252, 1995: 7.57, 1965: 4.094, 2030: 11.784, 2000: 8.413, 1970: 4.541, 2035: 12.267, 2005: 9.205, 1975: 4.973, 2040: 12.69, 2010: 9.649, 1980: 5.508, 2045: 13.049, 1950: 3.097, 2015: 10.11}, 'Belize': {1985: 0.166, 2050: 0.544, 1955: 0.077, 2020: 0.38, 1990: 0.191, 1960: 0.092, 2025: 0.411, 1995: 0.217, 1965: 0.107, 2030: 0.441, 2000: 0.248, 1970: 0.122, 2035: 0.469, 2005: 0.281, 1975: 0.136, 2040: 0.496, 2010: 0.315, 1980: 0.144, 2045: 0.521, 1950: 0.066, 2015: 0.347}, 'Hong Kong': {1985: 5.456, 2050: 6.173, 1955: 2.49, 2020: 7.328, 1990: 5.688, 1960: 3.075, 2025: 7.355, 1995: 6.225, 1965: 3.598, 2030: 7.294, 2000: 6.659, 1970: 3.959, 2035: 7.131, 2005: 6.899, 1975: 4.396, 2040: 6.873, 2010: 7.09, 1980: 5.063, 2045: 6.544, 1950: 2.237, 2015: 7.235}, 'Sierra Leone': {1985: 3.703, 2050: 13.594, 1955: 2.233, 2020: 6.625, 1990: 4.228, 1960: 2.396, 2025: 7.5, 1995: 3.881, 1965: 2.582, 2030: 8.5, 2000: 3.809, 1970: 2.789, 2035: 9.61, 2005: 4.708, 1975: 3.03, 2040: 10.831, 2010: 5.246, 1980: 3.335, 2045: 12.16, 1950: 2.087, 2015: 5.879}, 'Georgia': {1985: 5.193, 2050: 3.785, 1955: 3.827, 2020: 4.44, 1990: 5.426, 1960: 4.147, 2025: 4.341, 1995: 5.013, 1965: 4.465, 2030: 4.231, 2000: 4.777, 1970: 4.694, 2035: 4.118, 2005: 4.677, 1975: 4.898, 2040: 4.006, 2010: 4.601, 1980: 5.046, 2045: 3.896, 1950: 3.516, 2015: 4.525}, 'Gambia': {1985: 0.773, 2050: 3.21, 1955: 0.306, 2020: 2.174, 1990: 0.951, 1960: 0.352, 2025: 2.369, 1995: 1.161, 1965: 0.412, 2030: 2.554, 2000: 1.357, 1970: 0.485, 2035: 2.73, 2005: 1.548, 1975: 0.566, 2040: 2.899, 2010: 1.755, 1980: 0.652, 2045: 3.059, 1950: 0.271, 2015: 1.968}, 'Philippines': {1985: 57.706, 2050: 171.964, 1955: 24.553, 2020: 119.329, 1990: 65.088, 1960: 28.529, 2025: 128.921, 1995: 72.597, 1965: 33.268, 2030: 138.333, 2000: 81.222, 1970: 38.604, 2035: 147.466, 2005: 90.436, 1975: 44.337, 2040: 156.188, 2010: 99.9, 1980: 50.94, 2045: 164.384, 1950: 21.131, 2015: 109.616}, 'Moldova': {1985: 4.148, 2050: 2.261, 1955: 2.622, 2020: 3.364, 1990: 4.374, 1960: 2.999, 2025: 3.177, 1995: 4.355, 1965: 3.334, 2030: 2.985, 2000: 4.18, 1970: 3.595, 2035: 2.793, 2005: 3.948, 1975: 3.847, 2040: 2.608, 2010: 3.732, 1980: 3.996, 2045: 2.432, 1950: 2.336, 2015: 3.547}, 'Morocco': {1985: 21.644, 2050: 42.026, 1955: 10.782, 2020: 34.956, 1990: 24.0, 1960: 12.423, 2025: 36.484, 1995: 26.148, 1965: 14.066, 2030: 37.887, 2000: 28.113, 1970: 15.909, 2035: 39.148, 2005: 29.901, 1975: 17.687, 2040: 40.267, 2010: 31.627, 1980: 19.487, 2045: 41.23, 1950: 9.343, 2015: 33.323}, 'Croatia': {1985: 4.458, 2050: 3.864, 1955: 3.956, 2020: 4.427, 1990: 4.508, 1960: 4.036, 2025: 4.374, 1995: 4.497, 1965: 4.133, 2030: 4.301, 2000: 4.411, 1970: 4.205, 2035: 4.209, 2005: 4.496, 1975: 4.255, 2040: 4.104, 2010: 4.487, 1980: 4.383, 2045: 3.988, 1950: 0.004, 2015: 4.465}, 'Mongolia': {1985: 1.908, 2050: 4.34, 1955: 0.844, 2020: 3.535, 1990: 2.218, 1960: 0.955, 2025: 3.725, 1995: 2.447, 1965: 1.09, 2030: 3.89, 2000: 2.664, 1970: 1.248, 2035: 4.036, 2005: 2.866, 1975: 1.446, 2040: 4.165, 2010: 3.087, 1980: 1.662, 2045: 4.269, 1950: 0.779, 2015: 3.318}, 'Guernsey': {1985: 0.055, 2050: 0.067, 1955: 0.046, 2020: 0.067, 1990: 0.063, 1960: 0.047, 2025: 0.068, 1995: 0.061, 1965: 0.05, 2030: 0.068, 2000: 0.062, 1970: 0.053, 2035: 0.068, 2005: 0.063, 1975: 0.054, 2040: 0.068, 2010: 0.065, 1980: 0.053, 2045: 0.067, 1950: 0.045, 2015: 0.066}, 'Thailand': {1985: 51.342, 2050: 69.611, 1955: 23.451, 2020: 69.558, 1990: 55.197, 1960: 27.513, 2025: 70.644, 1995: 58.883, 1965: 32.062, 2030: 71.29, 2000: 61.904, 1970: 37.091, 2035: 71.462, 2005: 64.235, 1975: 42.272, 2040: 71.216, 2010: 66.336, 1980: 47.026, 2045: 70.584, 1950: 20.042, 2015: 68.119}, 'Switzerland': {1985: 6.564, 2050: 7.296, 1955: 4.98, 2020: 7.751, 1990: 6.837, 1960: 5.362, 2025: 7.774, 1995: 7.157, 1965: 5.943, 2030: 7.756, 2000: 7.267, 1970: 6.267, 2035: 7.691, 2005: 7.489, 1975: 6.404, 2040: 7.586, 2010: 7.623, 1980: 6.385, 2045: 7.451, 1950: 4.694, 2015: 7.698}, 'Grenada': {1985: 0.093, 2050: 0.114, 1955: 0.085, 2020: 0.113, 1990: 0.094, 1960: 0.09, 2025: 0.115, 1995: 0.098, 1965: 0.093, 2030: 0.116, 2000: 0.102, 1970: 0.095, 2035: 0.116, 2005: 0.105, 1975: 0.096, 2040: 0.115, 2010: 0.108, 1980: 0.09, 2045: 0.115, 1950: 0.076, 2015: 0.111}, 'Iraq': {1985: 15.694, 2050: 56.316, 1955: 5.903, 2020: 36.889, 1990: 18.14, 1960: 6.822, 2025: 40.387, 1995: 19.564, 1965: 7.971, 2030: 43.831, 2000: 22.679, 1970: 9.414, 2035: 47.207, 2005: 26.076, 1975: 11.118, 2040: 50.459, 2010: 29.672, 1980: 13.233, 2045: 53.516, 1950: 5.163, 2015: 33.31}, 'Portugal': {1985: 9.897, 2050: 9.933, 1955: 8.693, 2020: 10.842, 1990: 9.923, 1960: 9.037, 2025: 10.806, 1995: 10.066, 1965: 9.129, 2030: 10.731, 2000: 10.336, 1970: 9.044, 2035: 10.615, 2005: 10.566, 1975: 9.411, 2040: 10.447, 2010: 10.736, 1980: 9.778, 2045: 10.219, 1950: 8.443, 2015: 10.825}, 'Estonia': {1985: 1.538, 2050: 0.862, 1955: 1.154, 2020: 1.203, 1990: 1.569, 1960: 1.211, 2025: 1.149, 1995: 1.447, 1965: 1.288, 2030: 1.092, 2000: 1.38, 1970: 1.363, 2035: 1.034, 2005: 1.333, 1975: 1.432, 2040: 0.978, 2010: 1.291, 1980: 1.482, 2045: 0.921, 1950: 1.096, 2015: 1.249}, 'Uruguay': {1985: 3.019, 2050: 3.495, 1955: 2.353, 2020: 3.388, 1990: 3.085, 1960: 2.531, 2025: 3.432, 1995: 3.15, 1965: 2.693, 2030: 3.467, 2000: 3.22, 1970: 2.824, 2035: 3.485, 2005: 3.265, 1975: 2.844, 2040: 3.5, 2010: 3.301, 1980: 2.93, 2045: 3.503, 1950: 2.194, 2015: 3.342}, 'Mexico': {1985: 76.767, 2050: 147.908, 1955: 32.93, 2020: 124.654, 1990: 84.914, 1960: 38.579, 2025: 130.199, 1995: 92.88, 1965: 45.142, 2030: 135.172, 2000: 99.927, 1970: 52.775, 2035: 139.457, 2005: 106.203, 1975: 60.678, 2040: 143.026, 2010: 112.469, 1980: 68.347, 2045: 145.856, 1950: 28.485, 2015: 118.689}, 'Lebanon': {1985: 3.171, 2050: 4.155, 1955: 1.561, 2020: 4.243, 1990: 3.44, 1960: 1.786, 2025: 4.307, 1995: 3.654, 1965: 2.058, 2030: 4.335, 2000: 3.791, 1970: 2.383, 2035: 4.33, 2005: 3.892, 1975: 2.691, 2040: 4.298, 2010: 4.125, 1980: 2.899, 2045: 4.24, 1950: 1.364, 2015: 4.151}, 'Uzbekistan': {1985: 18.215, 2050: 35.116, 1955: 7.232, 2020: 30.565, 1990: 20.53, 1960: 8.531, 2025: 31.824, 1995: 23.067, 1965: 10.206, 2030: 32.855, 2000: 25.042, 1970: 11.94, 2035: 33.653, 2005: 26.54, 1975: 13.988, 2040: 34.278, 2010: 27.866, 1980: 15.994, 2045: 34.768, 1950: 6.293, 2015: 29.2}, 'Tunisia': {1985: 7.364, 2050: 12.18, 1955: 3.846, 2020: 11.494, 1990: 8.207, 1960: 4.149, 2025: 11.85, 1995: 8.947, 1965: 4.566, 2030: 12.086, 2000: 9.508, 1970: 5.099, 2035: 12.222, 2005: 10.013, 1975: 5.704, 2040: 12.284, 2010: 10.525, 1980: 6.443, 2045: 12.277, 1950: 3.517, 2015: 11.037}, 'Djibouti': {1985: 0.382, 2050: 1.396, 1955: 0.09, 2020: 0.922, 1990: 0.499, 1960: 0.111, 2025: 1.017, 1995: 0.553, 1965: 0.142, 2030: 1.109, 2000: 0.669, 1970: 0.18, 2035: 1.194, 2005: 0.666, 1975: 0.227, 2040: 1.27, 2010: 0.741, 1980: 0.327, 2045: 1.337, 1950: 0.079, 2015: 0.828}, 'Rwanda': {1985: 5.987, 2050: 27.506, 1955: 2.698, 2020: 14.327, 1990: 6.999, 1960: 3.032, 2025: 16.081, 1995: 5.473, 1965: 3.265, 2030: 17.983, 2000: 8.398, 1970: 3.769, 2035: 20.08, 2005: 9.611, 1975: 4.357, 2040: 22.378, 2010: 11.056, 1980: 5.14, 2045: 24.859, 1950: 2.439, 2015: 12.662}, 'Antigua and Barbuda': {1985: 0.064, 2050: 0.123, 1955: 0.051, 2020: 0.098, 1990: 0.064, 1960: 0.055, 2025: 0.104, 1995: 0.069, 1965: 0.059, 2030: 0.109, 2000: 0.075, 1970: 0.066, 2035: 0.114, 2005: 0.081, 1975: 0.068, 2040: 0.117, 2010: 0.087, 1980: 0.069, 2045: 0.12, 1950: 0.046, 2015: 0.092}, 'Spain': {1985: 38.535, 2050: 52.491, 1955: 29.319, 2020: 50.016, 1990: 39.351, 1960: 30.641, 2025: 51.415, 1995: 39.765, 1965: 32.085, 2030: 52.445, 2000: 40.589, 1970: 33.876, 2035: 53.139, 2005: 43.704, 1975: 35.564, 2040: 53.45, 2010: 46.506, 1980: 37.488, 2045: 53.27, 1950: 28.063, 2015: 48.146}, 'Colombia': {1985: 29.748, 2050: 56.228, 1955: 13.588, 2020: 49.085, 1990: 33.147, 1960: 15.953, 2025: 51.195, 1995: 36.532, 1965: 18.646, 2030: 52.965, 2000: 38.91, 1970: 21.43, 2035: 54.344, 2005: 41.488, 1975: 24.125, 2040: 55.335, 2010: 44.205, 1980: 26.631, 2045: 55.956, 1950: 11.592, 2015: 46.737}, 'Burundi': {1985: 4.922, 2050: 27.149, 1955: 2.576, 2020: 13.429, 1990: 5.536, 1960: 2.815, 2025: 15.465, 1995: 6.165, 1965: 3.171, 2030: 17.65, 2000: 6.823, 1970: 3.522, 2035: 19.95, 2005: 8.162, 1975: 3.676, 2040: 22.321, 2010: 9.863, 1980: 4.298, 2045: 24.729, 1950: 2.363, 2015: 11.574}, 'Taiwan': {1985: 19.337, 2050: 20.161, 1955: 9.486, 2020: 23.278, 1990: 20.278, 1960: 11.209, 2025: 23.214, 1995: 21.29, 1965: 12.978, 2030: 22.978, 2000: 22.183, 1970: 14.598, 2035: 22.532, 2005: 22.701, 1975: 16.122, 2040: 21.887, 2010: 23.025, 1980: 17.848, 2045: 21.083, 1950: 7.981, 2015: 23.212}, 'Fiji': {1985: 0.699, 2050: 1.014, 1955: 0.332, 2020: 0.936, 1990: 0.74, 1960: 0.393, 2025: 0.956, 1995: 0.773, 1965: 0.463, 2030: 0.972, 2000: 0.805, 1970: 0.521, 2035: 0.986, 2005: 0.837, 1975: 0.576, 2040: 0.998, 2010: 0.876, 1980: 0.635, 2045: 1.008, 1950: 0.287, 2015: 0.909}, 'Barbados': {1985: 0.257, 2050: 0.282, 1955: 0.227, 2020: 0.295, 1990: 0.262, 1960: 0.232, 2025: 0.297, 1995: 0.268, 1965: 0.235, 2030: 0.298, 2000: 0.274, 1970: 0.239, 2035: 0.296, 2005: 0.28, 1975: 0.247, 2040: 0.293, 2010: 0.286, 1980: 0.252, 2045: 0.288, 1950: 0.211, 2015: 0.291}, 'Curaao': {1985: 0.154, 2050: 0.15, 1955: 0.112, 2020: 0.151, 1990: 0.145, 1960: 0.124, 2025: 0.154, 1995: 0.142, 1965: 0.134, 2030: 0.155, 2000: 0.134, 1970: 0.145, 2035: 0.155, 2005: 0.136, 1975: 0.149, 2040: 0.154, 2010: 0.143, 1980: 0.148, 2045: 0.152, 1950: 0.101, 2015: 0.148}, 'Madagascar': {1985: 10.029, 2050: 56.514, 1955: 5.003, 2020: 28.374, 1990: 11.633, 1960: 5.482, 2025: 32.431, 1995: 13.532, 1965: 6.07, 2030: 36.797, 2000: 15.742, 1970: 6.766, 2035: 41.433, 2005: 18.312, 1975: 7.604, 2040: 46.296, 2010: 21.282, 1980: 8.691, 2045: 51.344, 1950: 4.62, 2015: 24.651}, 'Italy': {1985: 56.718, 2050: 61.416, 1955: 48.633, 2020: 62.403, 1990: 56.713, 1960: 50.198, 2025: 62.591, 1995: 57.295, 1965: 51.987, 2030: 62.623, 2000: 57.784, 1970: 53.661, 2035: 62.531, 2005: 59.038, 1975: 55.572, 2040: 62.319, 2010: 60.749, 1980: 56.451, 2045: 61.956, 1950: 47.105, 2015: 61.855}, 'Bhutan': {1985: 0.529, 2050: 0.952, 1955: 0.186, 2020: 0.782, 1990: 0.615, 1960: 0.212, 2025: 0.82, 1995: 0.566, 1965: 0.254, 2030: 0.855, 2000: 0.606, 1970: 0.309, 2035: 0.885, 2005: 0.655, 1975: 0.373, 2040: 0.912, 2010: 0.7, 1980: 0.446, 2045: 0.934, 1950: 0.164, 2015: 0.742}, 'Sudan': {1985: 23.145, 2050: 97.165, 1955: 9.233, 2020: 56.292, 1990: 25.888, 1960: 10.589, 2025: 63.117, 1995: 29.953, 1965: 12.086, 2030: 69.996, 2000: 34.109, 1970: 13.788, 2035: 76.882, 2005: 38.363, 1975: 16.156, 2040: 83.745, 2010: 43.94, 1980: 19.482, 2045: 90.536, 1950: 8.051, 2015: 49.78}, 'Nepal': {1985: 16.57, 2050: 45.985, 1955: 9.479, 2020: 34.209, 1990: 18.918, 1960: 10.035, 2025: 36.623, 1995: 21.877, 1965: 10.862, 2030: 38.886, 2000: 24.818, 1970: 11.919, 2035: 40.939, 2005: 27.094, 1975: 13.156, 2040: 42.776, 2010: 28.952, 1980: 14.665, 2045: 44.447, 1950: 8.99, 2015: 31.551}, 'Malta': {1985: 0.347, 2050: 0.396, 1955: 0.314, 2020: 0.419, 1990: 0.359, 1960: 0.329, 2025: 0.421, 1995: 0.377, 1965: 0.319, 2030: 0.42, 2000: 0.39, 1970: 0.326, 2035: 0.416, 2005: 0.399, 1975: 0.328, 2040: 0.41, 2010: 0.407, 1980: 0.364, 2045: 0.403, 1950: 0.312, 2015: 0.414}, 'Maldives': {1985: 0.177, 2050: 0.444, 1955: 0.08, 2020: 0.392, 1990: 0.217, 1960: 0.092, 2025: 0.389, 1995: 0.261, 1965: 0.098, 2030: 0.401, 2000: 0.3, 1970: 0.115, 2035: 0.415, 2005: 0.336, 1975: 0.133, 2040: 0.427, 2010: 0.396, 1980: 0.153, 2045: 0.437, 1950: 0.079, 2015: 0.393}, 'Suriname': {1985: 0.394, 2050: 0.718, 1955: 0.24, 2020: 0.61, 1990: 0.416, 1960: 0.284, 2025: 0.637, 1995: 0.428, 1965: 0.336, 2030: 0.662, 2000: 0.464, 1970: 0.372, 2035: 0.683, 2005: 0.504, 1975: 0.363, 2040: 0.7, 2010: 0.546, 1980: 0.354, 2045: 0.711, 1950: 0.208, 2015: 0.58}, 'Anguilla': {1985: 0.007, 2050: 0.027, 1955: 0.005, 2020: 0.018, 1990: 0.008, 1960: 0.006, 2025: 0.02, 1995: 0.01, 1965: 0.006, 2030: 0.021, 2000: 0.011, 1970: 0.006, 2035: 0.023, 2005: 0.013, 1975: 0.006, 2040: 0.024, 2010: 0.015, 1980: 0.007, 2045: 0.026, 1950: 0.005, 2015: 0.016}, 'Venezuela': {1985: 16.998, 2050: 40.256, 1955: 6.17, 2020: 31.276, 1990: 19.325, 1960: 7.556, 2025: 33.189, 1995: 21.549, 1965: 9.068, 2030: 34.958, 2000: 23.493, 1970: 10.758, 2035: 36.543, 2005: 25.269, 1975: 12.675, 2040: 37.942, 2010: 27.223, 1980: 14.768, 2045: 39.173, 1950: 5.009, 2015: 29.275}, 'Israel': {1985: 4.068, 2050: 10.828, 1955: 1.772, 2020: 8.479, 1990: 4.478, 1960: 2.141, 2025: 8.984, 1995: 5.353, 1965: 2.578, 2030: 9.459, 2000: 6.115, 1970: 2.903, 2035: 9.898, 2005: 6.743, 1975: 3.354, 2040: 10.28, 2010: 7.354, 1980: 3.737, 2045: 10.593, 1950: 1.286, 2015: 7.935}, 'Indonesia': {1985: 166.119, 2050: 313.021, 1955: 90.255, 2020: 267.532, 1990: 181.77, 1960: 100.146, 2025: 278.503, 1995: 197.764, 1965: 110.754, 2030: 288.678, 2000: 213.829, 1970: 122.292, 2035: 297.585, 2005: 228.896, 1975: 135.272, 2040: 304.686, 2010: 242.968, 1980: 150.467, 2045: 309.799, 1950: 82.978, 2015: 255.759}, 'Iceland': {1985: 0.241, 2050: 0.351, 1955: 0.158, 2020: 0.329, 1990: 0.255, 1960: 0.176, 2025: 0.338, 1995: 0.268, 1965: 0.192, 2030: 0.344, 2000: 0.281, 1970: 0.204, 2035: 0.349, 2005: 0.297, 1975: 0.218, 2040: 0.351, 2010: 0.309, 1980: 0.228, 2045: 0.352, 1950: 0.143, 2015: 0.319}, 'Zambia': {1985: 6.716, 2050: 38.372, 1955: 2.869, 2020: 18.065, 1990: 7.858, 1960: 3.254, 2025: 20.672, 1995: 9.021, 1965: 3.694, 2030: 23.491, 2000: 10.345, 1970: 4.248, 2035: 26.611, 2005: 11.71, 1975: 4.897, 2040: 30.121, 2010: 13.46, 1980: 5.643, 2045: 34.04, 1950: 2.553, 2015: 15.644}, 'Senegal': {1985: 6.378, 2050: 27.244, 1955: 2.927, 2020: 15.736, 1990: 7.348, 1960: 3.27, 2025: 17.581, 1995: 8.378, 1965: 3.744, 2030: 19.485, 2000: 9.469, 1970: 4.318, 2035: 21.43, 2005: 10.804, 1975: 4.989, 2040: 23.39, 2010: 12.323, 1980: 5.611, 2045: 25.336, 1950: 2.654, 2015: 13.976}, 'Papua New Guinea': {1985: 3.229, 2050: 10.11, 1955: 1.545, 2020: 7.259, 1990: 3.683, 1960: 1.718, 2025: 7.823, 1995: 4.216, 1965: 1.941, 2030: 8.359, 2000: 4.813, 1970: 2.214, 2035: 8.859, 2005: 5.44, 1975: 2.504, 2040: 9.317, 2010: 6.065, 1980: 2.846, 2045: 9.733, 1950: 1.412, 2015: 6.672}, 'Trinidad and Tobago': {1985: 1.189, 2050: 1.024, 1955: 0.721, 2020: 1.209, 1990: 1.255, 1960: 0.841, 2025: 1.184, 1995: 1.264, 1965: 0.939, 2030: 1.152, 2000: 1.252, 1970: 0.955, 2035: 1.118, 2005: 1.237, 1975: 1.007, 2040: 1.085, 2010: 1.229, 1980: 1.091, 2045: 1.054, 1950: 0.632, 2015: 1.222}, 'Zimbabwe': {1985: 8.56, 2050: 25.198, 1955: 3.409, 2020: 15.832, 1990: 10.156, 1960: 4.011, 2025: 17.37, 1995: 11.159, 1965: 4.685, 2030: 18.82, 2000: 11.82, 1970: 5.515, 2035: 20.281, 2005: 11.639, 1975: 6.342, 2040: 21.839, 2010: 11.652, 1980: 7.17, 2045: 23.491, 1950: 2.853, 2015: 14.23}, 'Germany': {1985: 77.685, 2050: 71.542, 1955: 70.196, 2020: 80.16, 1990: 79.38, 1960: 72.481, 2025: 79.226, 1995: 81.654, 1965: 75.639, 2030: 78.022, 2000: 82.184, 1970: 77.783, 2035: 76.589, 2005: 82.439, 1975: 78.682, 2040: 74.984, 2010: 81.644, 1980: 78.298, 2045: 73.276, 1950: 68.375, 2015: 80.854}, 'Vanuatu': {1985: 0.135, 2050: 0.312, 1955: 0.059, 2020: 0.251, 1990: 0.154, 1960: 0.066, 2025: 0.264, 1995: 0.173, 1965: 0.074, 2030: 0.276, 2000: 0.19, 1970: 0.085, 2035: 0.287, 2005: 0.206, 1975: 0.1, 2040: 0.296, 2010: 0.222, 1980: 0.117, 2045: 0.305, 1950: 0.052, 2015: 0.236}, 'Denmark': {1985: 5.114, 2050: 5.575, 1955: 4.439, 2020: 5.642, 1990: 5.141, 1960: 4.581, 2025: 5.698, 1995: 5.233, 1965: 4.758, 2030: 5.73, 2000: 5.337, 1970: 4.929, 2035: 5.728, 2005: 5.432, 1975: 5.06, 2040: 5.691, 2010: 5.516, 1980: 5.123, 2045: 5.635, 1950: 4.271, 2015: 5.582}, 'Kazakhstan': {1985: 15.999, 2050: 22.237, 1955: 7.977, 2020: 19.092, 1990: 16.775, 1960: 9.982, 2025: 19.809, 1995: 16.39, 1965: 11.902, 2030: 20.378, 2000: 15.687, 1970: 13.106, 2035: 20.886, 2005: 16.123, 1975: 14.157, 2040: 21.401, 2010: 17.085, 1980: 15.0, 2045: 21.877, 1950: 6.693, 2015: 18.157}, 'Poland': {1985: 37.226, 2050: 32.085, 1955: 27.221, 2020: 37.949, 1990: 38.119, 1960: 29.59, 2025: 37.35, 1995: 38.601, 1965: 31.262, 2030: 36.531, 2000: 38.654, 1970: 32.526, 2035: 35.556, 2005: 38.558, 1975: 33.969, 2040: 34.481, 2010: 38.464, 1980: 35.578, 2045: 33.322, 1950: 24.824, 2015: 38.302}, 'Eritrea': {1985: 2.941, 2050: 11.381, 1955: 1.499, 2020: 7.26, 1990: 3.138, 1960: 1.615, 2025: 7.987, 1995: 3.565, 1965: 1.746, 2030: 8.71, 2000: 4.197, 1970: 2.16, 2035: 9.42, 2005: 5.07, 1975: 2.421, 2040: 10.109, 2010: 5.793, 1980: 2.569, 2045: 10.765, 1950: 1.403, 2015: 6.528}, 'Ireland': {1985: 3.54, 2050: 6.334, 1955: 2.916, 2020: 5.177, 1990: 3.508, 1960: 2.832, 2025: 5.418, 1995: 3.614, 1965: 2.876, 2030: 5.631, 2000: 3.822, 1970: 2.95, 2035: 5.832, 2005: 4.199, 1975: 3.177, 2040: 6.023, 2010: 4.623, 1980: 3.401, 2045: 6.195, 1950: 2.963, 2015: 4.892}, 'Mayotte': {1985: 0.071, 2050: 0.267, 1955: 0.024, 2020: 0.229, 1990: 0.087, 1960: 0.028, 2025: 0.236, 1995: 0.119, 1965: 0.032, 2030: 0.244, 2000: 0.157, 1970: 0.037, 2035: 0.253, 2005: 0.186, 1975: 0.043, 2040: 0.261, 2010: 0.206, 1980: 0.053, 2045: 0.265, 1950: 0.022, 2015: 0.22}, 'Montserrat': {1985: 0.011, 2050: 0.006, 1955: 0.013, 2020: 0.005, 1990: 0.011, 1960: 0.012, 2025: 0.006, 1995: 0.01, 1965: 0.012, 2030: 0.006, 2000: 0.004, 1970: 0.012, 2035: 0.006, 2005: 0.005, 1975: 0.012, 2040: 0.006, 2010: 0.005, 1980: 0.012, 2045: 0.006, 1950: 0.013, 2015: 0.005}, 'New Caledonia': {1985: 0.153, 2050: 0.371, 1955: 0.065, 2020: 0.29, 1990: 0.169, 1960: 0.079, 2025: 0.307, 1995: 0.192, 1965: 0.09, 2030: 0.324, 2000: 0.211, 1970: 0.112, 2035: 0.338, 2005: 0.232, 1975: 0.133, 2040: 0.35, 2010: 0.252, 1980: 0.139, 2045: 0.361, 1950: 0.055, 2015: 0.272}, 'Macedonia': {1985: 1.845, 2050: 1.991, 1955: 1.34, 2020: 2.113, 1990: 1.861, 1960: 1.366, 2025: 2.12, 1995: 1.954, 1965: 1.47, 2030: 2.114, 2000: 2.015, 1970: 1.574, 2035: 2.096, 2005: 2.045, 1975: 1.684, 2040: 2.069, 2010: 2.072, 1980: 1.792, 2045: 2.033, 1950: 1.225, 2015: 2.096}, 'North Korea': {1985: 18.831, 2050: 26.969, 1955: 8.863, 2020: 25.643, 1990: 20.451, 1960: 10.448, 2025: 26.242, 1995: 22.107, 1965: 11.964, 2030: 26.688, 2000: 22.785, 1970: 14.062, 2035: 26.955, 2005: 23.621, 1975: 16.014, 2040: 27.074, 2010: 24.326, 1980: 17.39, 2045: 27.073, 1950: 9.471, 2015: 24.983}, 'Sri Lanka': {1985: 15.847, 2050: 25.167, 1955: 8.694, 2020: 22.889, 1990: 16.862, 1960: 9.913, 2025: 23.563, 1995: 17.941, 1965: 11.261, 2030: 24.12, 2000: 19.041, 1970: 12.619, 2035: 24.584, 2005: 20.103, 1975: 13.779, 2040: 24.935, 2010: 21.084, 1980: 15.056, 2045: 25.132, 1950: 7.533, 2015: 22.053}, 'Latvia': {1985: 2.606, 2050: 1.544, 1955: 2.002, 2020: 2.077, 1990: 2.664, 1960: 2.115, 2025: 1.993, 1995: 2.488, 1965: 2.254, 2030: 1.903, 2000: 2.376, 1970: 2.361, 2035: 1.814, 2005: 2.29, 1975: 2.462, 2040: 1.728, 2010: 2.218, 1980: 2.525, 2045: 1.638, 1950: 1.936, 2015: 2.152}, 'Guyana': {1985: 0.762, 2050: 0.888, 1955: 0.491, 2020: 0.754, 1990: 0.772, 1960: 0.571, 2025: 0.786, 1995: 0.769, 1965: 0.64, 2030: 0.819, 2000: 0.786, 1970: 0.715, 2035: 0.846, 2005: 0.776, 1975: 0.768, 2040: 0.867, 2010: 0.748, 1980: 0.759, 2045: 0.88, 1950: 0.428, 2015: 0.739}, 'Syria': {1985: 10.466, 2050: 33.658, 1955: 3.938, 2020: 24.744, 1990: 12.5, 1960: 4.533, 2025: 26.536, 1995: 14.449, 1965: 5.326, 2030: 28.224, 2000: 16.471, 1970: 6.258, 2035: 29.804, 2005: 18.563, 1975: 7.407, 2040: 31.257, 2010: 22.198, 1980: 8.752, 2045: 32.551, 1950: 3.495, 2015: 22.879}, 'Sint Maarten': {1985: 0.019, 2050: 0.053, 1955: 0.002, 2020: 0.044, 1990: 0.029, 1960: 0.003, 2025: 0.047, 1995: 0.032, 1965: 0.004, 2030: 0.049, 2000: 0.031, 1970: 0.006, 2035: 0.05, 2005: 0.034, 1975: 0.01, 2040: 0.052, 2010: 0.038, 1980: 0.012, 2045: 0.052, 1950: 0.002, 2015: 0.041}, 'Honduras': {1985: 4.077, 2050: 12.949, 1955: 1.662, 2020: 9.465, 1990: 4.794, 1960: 1.952, 2025: 10.144, 1995: 5.551, 1965: 2.329, 2030: 10.785, 2000: 6.359, 1970: 2.761, 2035: 11.389, 2005: 7.193, 1975: 2.858, 2040: 11.95, 2010: 7.989, 1980: 3.402, 2045: 12.468, 1950: 1.431, 2015: 8.747}, 'Myanmar': {1985: 36.766, 2050: 70.673, 1955: 21.05, 2020: 59.126, 1990: 40.464, 1960: 22.839, 2025: 61.748, 1995: 43.994, 1965: 24.937, 2030: 64.103, 2000: 47.439, 1970: 27.393, 2035: 66.155, 2005: 50.572, 1975: 30.33, 2040: 67.927, 2010: 53.414, 1980: 33.336, 2045: 69.444, 1950: 19.488, 2015: 56.32}, 'Equatorial Guinea': {1985: 0.325, 2050: 1.428, 1955: 0.226, 2020: 0.836, 1990: 0.371, 1960: 0.244, 2025: 0.936, 1995: 0.426, 1965: 0.253, 2030: 1.037, 2000: 0.491, 1970: 0.27, 2035: 1.138, 2005: 0.567, 1975: 0.213, 2040: 1.238, 2010: 0.651, 1980: 0.256, 2045: 1.335, 1950: 0.211, 2015: 0.741}, 'Egypt': {1985: 50.052, 2050: 137.873, 1955: 23.856, 2020: 96.26, 1990: 54.907, 1960: 26.847, 2025: 103.742, 1995: 58.945, 1965: 30.265, 2030: 111.057, 2000: 65.159, 1970: 33.574, 2035: 118.256, 2005: 72.544, 1975: 36.952, 2040: 125.242, 2010: 80.472, 1980: 42.634, 2045: 131.822, 1950: 21.198, 2015: 88.487}, 'Nicaragua': {1985: 3.18, 2050: 7.234, 1955: 1.277, 2020: 6.203, 1990: 3.644, 1960: 1.493, 2025: 6.494, 1995: 4.402, 1965: 1.75, 2030: 6.753, 2000: 4.866, 1970: 2.053, 2035: 6.956, 2005: 5.267, 1975: 2.395, 2040: 7.101, 2010: 5.604, 1980: 2.803, 2045: 7.191, 1950: 1.098, 2015: 5.908}, 'Singapore': {1985: 2.75, 2050: 8.61, 1955: 1.306, 2020: 6.21, 1990: 3.047, 1960: 1.646, 2025: 6.733, 1995: 3.567, 1965: 1.887, 2030: 7.223, 2000: 4.063, 1970: 2.075, 2035: 7.66, 2005: 4.606, 1975: 2.263, 2040: 8.036, 2010: 5.14, 1980: 2.414, 2045: 8.351, 1950: 1.022, 2015: 5.674}, 'Serbia': {1985: 7.72, 2050: 5.869, 1955: 6.313, 2020: 7.012, 1990: 7.786, 1960: 6.659, 2025: 6.846, 1995: 7.691, 1965: 6.959, 2030: 6.672, 2000: 7.604, 1970: 7.248, 2035: 6.486, 2005: 7.502, 1975: 7.431, 2040: 6.287, 2010: 7.345, 1980: 7.588, 2045: 6.08, 1950: 5.956, 2015: 7.177}, 'Botswana': {1985: 1.08, 2050: 2.871, 1955: 0.461, 2020: 2.312, 1990: 1.265, 1960: 0.497, 2025: 2.425, 1995: 1.478, 1965: 0.538, 2030: 2.519, 2000: 1.68, 1970: 0.584, 2035: 2.605, 2005: 1.84, 1975: 0.705, 2040: 2.691, 2010: 2.029, 1980: 0.9, 2045: 2.78, 1950: 0.43, 2015: 2.183}, 'United Kingdom': {1985: 56.584, 2050: 71.154, 1955: 50.946, 2020: 65.761, 1990: 57.411, 1960: 52.372, 2025: 67.244, 1995: 58.187, 1965: 54.35, 2030: 68.451, 2000: 59.14, 1970: 55.632, 2035: 69.394, 2005: 60.487, 1975: 56.215, 2040: 70.148, 2010: 62.348, 1980: 56.314, 2045: 70.742, 1950: 50.127, 2015: 64.088}, 'Greece': {1985: 9.923, 2050: 10.036, 1955: 7.966, 2020: 10.742, 1990: 10.13, 1960: 8.327, 2025: 10.671, 1995: 10.458, 1965: 8.55, 2030: 10.583, 2000: 10.559, 1970: 8.793, 2035: 10.485, 2005: 10.668, 1975: 9.047, 2040: 10.366, 2010: 10.75, 1980: 9.643, 2045: 10.217, 1950: 7.566, 2015: 10.776}, 'Paraguay': {1985: 3.633, 2050: 8.84, 1955: 1.683, 2020: 7.192, 1990: 4.2, 1960: 1.91, 2025: 7.603, 1995: 4.826, 1965: 2.17, 2030: 7.974, 2000: 5.418, 1970: 2.477, 2035: 8.279, 2005: 5.926, 1975: 2.848, 2040: 8.517, 2010: 6.376, 1980: 3.172, 2045: 8.699, 1950: 1.476, 2015: 6.783}, 'Namibia': {1985: 1.204, 2050: 2.15, 1955: 0.522, 2020: 2.263, 1990: 1.471, 1960: 0.591, 2025: 2.284, 1995: 1.681, 1965: 0.671, 2030: 2.281, 2000: 1.893, 1970: 0.765, 2035: 2.258, 2005: 2.028, 1975: 0.915, 2040: 2.223, 2010: 2.128, 1980: 1.058, 2045: 2.185, 1950: 0.464, 2015: 2.212}, 'Comoros': {1985: 0.383, 2050: 1.17, 1955: 0.164, 2020: 0.846, 1990: 0.43, 1960: 0.183, 2025: 0.906, 1995: 0.483, 1965: 0.206, 2030: 0.964, 2000: 0.545, 1970: 0.237, 2035: 1.022, 2005: 0.623, 1975: 0.276, 2040: 1.078, 2010: 0.706, 1980: 0.34, 2045: 1.128, 1950: 0.148, 2015: 0.781}})

Creating a dataframe from a dictionary


In [8]:
# create dataframe

df = pd.DataFrame.from_dict(result, orient='index')
# sort based on year
df.sort(axis=1,inplace=True)
print df


<class 'pandas.core.frame.DataFrame'>
Index: 227 entries, Afghanistan to Zimbabwe
Data columns (total 21 columns):
1950    227  non-null values
1955    227  non-null values
1960    227  non-null values
1965    227  non-null values
1970    227  non-null values
1975    227  non-null values
1980    227  non-null values
1985    227  non-null values
1990    227  non-null values
1995    227  non-null values
2000    227  non-null values
2005    227  non-null values
2010    227  non-null values
2015    227  non-null values
2020    227  non-null values
2025    227  non-null values
2030    227  non-null values
2035    227  non-null values
2040    227  non-null values
2045    227  non-null values
2050    227  non-null values
dtypes: float64(21)

Some data accessing functions for a panda dataframe


In [9]:
subtable = df.iloc[0:2, 0:2]
print "subtable"
print subtable
print ""

column = df[1955]
print "column"
print column
print ""

row = df.ix[0] #row 0
print "row"
print row
print ""

rows = df.ix[:2] #rows 0,1
print "rows"
print rows
print ""

element = df.ix[0,1955] #element
print "element"
print element
print ""

# max along column
print "max"
print df[1950].max()
print ""

# axes
print "axes"
print df.axes
print ""

row = df.ix[0]
print "row info"
print row.name
print row.index
print ""

countries =  df.index
print "countries"
print countries
print ""

print "Austria"
print df.ix['Austria']


subtable
              1950   1955
Afghanistan  8.150  8.891
Albania      1.227  1.392

column
Afghanistan             8.891
Albania                 1.392
Algeria                 9.842
American Samoa          0.020
Andorra                 0.006
Angola                  4.423
Anguilla                0.005
Antigua and Barbuda     0.051
Argentina              18.928
Armenia                 1.565
Aruba                   0.054
Australia               9.277
Austria                 6.947
Azerbaijan              3.314
Bahamas                 0.087
...
United Arab Emirates              0.083
United Kingdom                   50.946
United States                   165.069
United States Virgin Islands      0.028
Uruguay                           2.353
Uzbekistan                        7.232
Vanuatu                           0.059
Venezuela                         6.170
Vietnam                          27.738
Wallis and Futuna                 0.007
West Bank                         0.788
Western Sahara                    0.016
Yemen                             5.265
Zambia                            2.869
Zimbabwe                          3.409
Name: 1955, Length: 227, dtype: float64

row
1950     8.150
1955     8.891
1960     9.829
1965    10.998
1970    12.431
1975    14.132
1980    15.044
1985    13.120
1990    13.568
1995    19.445
2000    22.461
2005    26.335
2010    29.121
2015    32.564
2020    36.644
2025    41.117
2030    45.665
2035    50.195
2040    54.717
2045    59.255
2050    63.795
Name: Afghanistan, dtype: float64

rows
<class 'pandas.core.frame.DataFrame'>
Index: 2 entries, Afghanistan to Albania
Data columns (total 21 columns):
1950    2  non-null values
1955    2  non-null values
1960    2  non-null values
1965    2  non-null values
1970    2  non-null values
1975    2  non-null values
1980    2  non-null values
1985    2  non-null values
1990    2  non-null values
1995    2  non-null values
2000    2  non-null values
2005    2  non-null values
2010    2  non-null values
2015    2  non-null values
2020    2  non-null values
2025    2  non-null values
2030    2  non-null values
2035    2  non-null values
2040    2  non-null values
2045    2  non-null values
2050    2  non-null values
dtypes: float64(21)

element
8.891

max
562.58

axes
[Index([u'Afghanistan', u'Albania', u'Algeria', u'American Samoa', u'Andorra', u'Angola', u'Anguilla', u'Antigua and Barbuda', u'Argentina', u'Armenia', u'Aruba', u'Australia', u'Austria', u'Azerbaijan', u'Bahamas', u'Bahrain', u'Bangladesh', u'Barbados', u'Belarus', u'Belgium', u'Belize', u'Benin', u'Bermuda', u'Bhutan', u'Bolivia', u'Bosnia and Herzegovina', u'Botswana', u'Brazil', u'British Virgin Islands', u'Brunei', u'Bulgaria', u'Burkina Faso', u'Burundi', u'Cambodia', u'Cameroon', u'Canada', u'Cape Verde', u'Cayman Islands', u'Central African Republic', u'Chad', u'Chile', u'China', u'Colombia', u'Comoros', u'Congo (Brazzaville)', u'Congo (Kinshasa)', u'Cook Islands', u'Costa Rica', u'Croatia', u'Cuba', u'Curaao', u'Cyprus', u'Czech Republic', u'Denmark', u'Djibouti', u'Dominica', u'Dominican Republic', u'Ecuador', u'Egypt', u'El Salvador', u'Equatorial Guinea', u'Eritrea', u'Estonia', u'Ethiopia', u'Faroe Islands', u'Federated States of Micronesia', u'Fiji', u'Finland', u'France', u'French Polynesia', u'Gabon', u'Gambia', u'Gaza Strip', u'Georgia', u'Germany', u'Ghana', u'Gibraltar', u'Greece', u'Greenland', u'Grenada', u'Guam', u'Guatemala', u'Guernsey', u'Guinea', u'Guinea-Bissau', u'Guyana', u'Haiti', u'Honduras', u'Hong Kong', u'Hungary', u'Iceland', u'India', u'Indonesia', u'Iran', u'Iraq', u'Ireland', u'Isle of Man', u'Israel', u'Italy', u'Ivory Coast', u'Jamaica', u'Japan', u'Jersey', u'Jordan', u'Kazakhstan', u'Kenya', u'Kiribati', u'Kuwait', u'Kyrgyzstan', u'Laos', u'Latvia', u'Lebanon', u'Lesotho', u'Liberia', u'Libya', u'Liechtenstein', u'Lithuania', u'Luxembourg', u'Macau', u'Macedonia', u'Madagascar', u'Malawi', u'Malaysia', u'Maldives', u'Mali', u'Malta', u'Marshall Islands', u'Mauritania', u'Mauritius', u'Mayotte', u'Mexico', u'Moldova', u'Monaco', u'Mongolia', u'Montenegro', u'Montserrat', u'Morocco', u'Mozambique', u'Myanmar', u'Namibia', u'Nauru', u'Nepal', u'Netherlands', u'New Caledonia', u'New Zealand', u'Nicaragua', u'Niger', u'Nigeria', u'North Korea', u'Northern Mariana Islands', u'Norway', u'Oman', u'Pakistan', u'Palau', u'Panama', u'Papua New Guinea', u'Paraguay', u'Peru', u'Philippines', u'Poland', u'Portugal', u'Puerto Rico', u'Qatar', u'Romania', u'Russia', u'Rwanda', u'Saint Barthlemy', u'Saint Helena, Ascension and Tristan da Cunha', u'Saint Kitts and Nevis', u'Saint Lucia', u'Saint Martin', u'Saint Pierre and Miquelon', u'Saint Vincent and the Grenadines', u'Samoa', u'San Marino', u'Saudi Arabia', u'Senegal', u'Serbia', u'Seychelles', u'Sierra Leone', u'Singapore', u'Sint Maarten', u'Slovakia', u'Slovenia', u'So Tom and Prncipe', u'Solomon Islands', u'Somalia', u'South Africa', u'South Korea', u'Spain', u'Sri Lanka', u'Sudan', u'Suriname', u'Swaziland', u'Sweden', u'Switzerland', u'Syria', u'Taiwan', u'Tajikistan', u'Tanzania', u'Thailand', u'Timor-Leste', u'Togo', u'Tonga', u'Trinidad and Tobago', u'Tunisia', u'Turkey', u'Turkmenistan', u'Turks and Caicos Islands', u'Tuvalu', u'Uganda', u'Ukraine', u'United Arab Emirates', u'United Kingdom', u'United States', u'United States Virgin Islands', u'Uruguay', u'Uzbekistan', u'Vanuatu', u'Venezuela', u'Vietnam', u'Wallis and Futuna', u'West Bank', u'Western Sahara', u'Yemen', u'Zambia', u'Zimbabwe'], dtype=object), Int64Index([1950, 1955, 1960, 1965, 1970, 1975, 1980, 1985, 1990, 1995, 2000, 2005, 2010, 2015, 2020, 2025, 2030, 2035, 2040, 2045, 2050], dtype=int64)]

row info
Afghanistan
Int64Index([1950, 1955, 1960, 1965, 1970, 1975, 1980, 1985, 1990, 1995, 2000, 2005, 2010, 2015, 2020, 2025, 2030, 2035, 2040, 2045, 2050], dtype=int64)

countries
Index([u'Afghanistan', u'Albania', u'Algeria', u'American Samoa', u'Andorra', u'Angola', u'Anguilla', u'Antigua and Barbuda', u'Argentina', u'Armenia', u'Aruba', u'Australia', u'Austria', u'Azerbaijan', u'Bahamas', u'Bahrain', u'Bangladesh', u'Barbados', u'Belarus', u'Belgium', u'Belize', u'Benin', u'Bermuda', u'Bhutan', u'Bolivia', u'Bosnia and Herzegovina', u'Botswana', u'Brazil', u'British Virgin Islands', u'Brunei', u'Bulgaria', u'Burkina Faso', u'Burundi', u'Cambodia', u'Cameroon', u'Canada', u'Cape Verde', u'Cayman Islands', u'Central African Republic', u'Chad', u'Chile', u'China', u'Colombia', u'Comoros', u'Congo (Brazzaville)', u'Congo (Kinshasa)', u'Cook Islands', u'Costa Rica', u'Croatia', u'Cuba', u'Curaao', u'Cyprus', u'Czech Republic', u'Denmark', u'Djibouti', u'Dominica', u'Dominican Republic', u'Ecuador', u'Egypt', u'El Salvador', u'Equatorial Guinea', u'Eritrea', u'Estonia', u'Ethiopia', u'Faroe Islands', u'Federated States of Micronesia', u'Fiji', u'Finland', u'France', u'French Polynesia', u'Gabon', u'Gambia', u'Gaza Strip', u'Georgia', u'Germany', u'Ghana', u'Gibraltar', u'Greece', u'Greenland', u'Grenada', u'Guam', u'Guatemala', u'Guernsey', u'Guinea', u'Guinea-Bissau', u'Guyana', u'Haiti', u'Honduras', u'Hong Kong', u'Hungary', u'Iceland', u'India', u'Indonesia', u'Iran', u'Iraq', u'Ireland', u'Isle of Man', u'Israel', u'Italy', u'Ivory Coast', u'Jamaica', u'Japan', u'Jersey', u'Jordan', u'Kazakhstan', u'Kenya', u'Kiribati', u'Kuwait', u'Kyrgyzstan', u'Laos', u'Latvia', u'Lebanon', u'Lesotho', u'Liberia', u'Libya', u'Liechtenstein', u'Lithuania', u'Luxembourg', u'Macau', u'Macedonia', u'Madagascar', u'Malawi', u'Malaysia', u'Maldives', u'Mali', u'Malta', u'Marshall Islands', u'Mauritania', u'Mauritius', u'Mayotte', u'Mexico', u'Moldova', u'Monaco', u'Mongolia', u'Montenegro', u'Montserrat', u'Morocco', u'Mozambique', u'Myanmar', u'Namibia', u'Nauru', u'Nepal', u'Netherlands', u'New Caledonia', u'New Zealand', u'Nicaragua', u'Niger', u'Nigeria', u'North Korea', u'Northern Mariana Islands', u'Norway', u'Oman', u'Pakistan', u'Palau', u'Panama', u'Papua New Guinea', u'Paraguay', u'Peru', u'Philippines', u'Poland', u'Portugal', u'Puerto Rico', u'Qatar', u'Romania', u'Russia', u'Rwanda', u'Saint Barthlemy', u'Saint Helena, Ascension and Tristan da Cunha', u'Saint Kitts and Nevis', u'Saint Lucia', u'Saint Martin', u'Saint Pierre and Miquelon', u'Saint Vincent and the Grenadines', u'Samoa', u'San Marino', u'Saudi Arabia', u'Senegal', u'Serbia', u'Seychelles', u'Sierra Leone', u'Singapore', u'Sint Maarten', u'Slovakia', u'Slovenia', u'So Tom and Prncipe', u'Solomon Islands', u'Somalia', u'South Africa', u'South Korea', u'Spain', u'Sri Lanka', u'Sudan', u'Suriname', u'Swaziland', u'Sweden', u'Switzerland', u'Syria', u'Taiwan', u'Tajikistan', u'Tanzania', u'Thailand', u'Timor-Leste', u'Togo', u'Tonga', u'Trinidad and Tobago', u'Tunisia', u'Turkey', u'Turkmenistan', u'Turks and Caicos Islands', u'Tuvalu', u'Uganda', u'Ukraine', u'United Arab Emirates', u'United Kingdom', u'United States', u'United States Virgin Islands', u'Uruguay', u'Uzbekistan', u'Vanuatu', u'Venezuela', u'Vietnam', u'Wallis and Futuna', u'West Bank', u'Western Sahara', u'Yemen', u'Zambia', u'Zimbabwe'], dtype=object)

Austria
1950    6.935
1955    6.947
1960    7.047
1965    7.271
1970    7.467
1975    7.579
1980    7.549
1985    7.560
1990    7.723
1995    8.047
2000    8.113
2005    8.185
2010    8.214
2015    8.224
2020    8.220
2025    8.190
2030    8.120
2035    8.009
2040    7.867
2045    7.702
2050    7.521
Name: Austria, dtype: float64

Plotting population of 4 countries


In [10]:
plotCountries = ['Austria', 'Germany', 'United States', 'France']
    
for country in plotCountries:
    row = df.ix[country]
    plt.plot(row.index, row, label=row.name ) 
    
plt.ylim(ymin=0) # start y axis at 0

plt.xticks(rotation=70)
plt.legend(loc='best')
plt.xlabel("Year")
plt.ylabel("# people (million)")
plt.title("Population of countries")


Out[10]:
<matplotlib.text.Text at 0x10a733c10>

Plot 5 most populous countries from 2010 and 2060


In [11]:
def plot_populous(df, year):
    # sort table depending on data value in year column
    df_by_year = df.sort(year, ascending=False)
    
    plt.figure()
    for i in range(5):  
        row = df_by_year.ix[i]
        plt.plot(row.index, row, label=row.name ) 
            
    plt.ylim(ymin=0)
    
    plt.xticks(rotation=70)
    plt.legend(loc='best')
    plt.xlabel("Year")
    plt.ylabel("# people (million)")
    plt.title("Most populous countries in %d" % year)

plot_populous(df, 2010)
plot_populous(df, 2050)



In [ ]: