365 KiB
365 KiB
In [23]:
import pandas as pd
pd.set_option('display.max_rows', 1000)
pd.set_option('display.max_columns', 100)
pd.set_option("display.max_colwidth", None)
In [12]:
tb_raw = pd.read_csv('who2.csv', index_col='rownames')
In [29]:
cols = ['country', 'year'] + [c for c in tb_raw.columns if c.startswith('sp')]
tb_raw=tb_raw.loc[tb_raw['year'].between(2000, 2012), cols]
In [30]:
tb_raw.shape
Out[30]:
(2783, 16)
In [31]:
tb_raw.sample(10)
Out[31]:
country | year | sp_m_014 | sp_m_1524 | sp_m_2534 | sp_m_3544 | sp_m_4554 | sp_m_5564 | sp_m_65 | sp_f_014 | sp_f_1524 | sp_f_2534 | sp_f_3544 | sp_f_4554 | sp_f_5564 | sp_f_65 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
rownames | ||||||||||||||||
2379 | France | 2004 | 13.0 | 109.0 | 222.0 | 220.0 | 200.0 | 138.0 | 216.0 | 11.0 | 96.0 | 116.0 | 82.0 | 53.0 | 34.0 | 171.0 |
2376 | France | 2001 | 10.0 | 124.0 | 230.0 | 260.0 | 205.0 | 119.0 | 211.0 | 17.0 | 131.0 | 132.0 | 102.0 | 63.0 | 40.0 | 183.0 |
1691 | Cote d'Ivoire | 2000 | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN |
4113 | Mexico | 2004 | 86.0 | 1053.0 | 1276.0 | 1181.0 | 1201.0 | 958.0 | 1209.0 | 102.0 | 760.0 | 649.0 | 693.0 | 695.0 | 626.0 | 725.0 |
270 | Antigua and Barbuda | 2011 | 0.0 | 0.0 | 1.0 | 1.0 | 3.0 | 1.0 | 1.0 | 0.0 | 1.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
2147 | El Salvador | 2010 | 5.0 | 101.0 | 170.0 | 96.0 | 77.0 | 62.0 | 101.0 | 6.0 | 63.0 | 65.0 | 49.0 | 58.0 | 51.0 | 68.0 |
7197 | Zambia | 2004 | 209.0 | 1498.0 | 3963.0 | 2262.0 | 968.0 | 313.0 | 324.0 | 247.0 | 1811.0 | 2961.0 | 1646.0 | 608.0 | 245.0 | 192.0 |
3737 | Lithuania | 2002 | 1.0 | 24.0 | 95.0 | 176.0 | 142.0 | 88.0 | 59.0 | 0.0 | 30.0 | 59.0 | 45.0 | 32.0 | 18.0 | 52.0 |
3532 | Lao People's Democratic Republic | 2001 | 10.0 | 81.0 | 137.0 | 176.0 | 219.0 | 186.0 | 164.0 | 6.0 | 51.0 | 99.0 | 121.0 | 138.0 | 104.0 | 71.0 |
5830 | Slovakia | 2012 | 0.0 | 2.0 | 9.0 | 17.0 | 20.0 | 12.0 | 7.0 | 0.0 | 2.0 | 3.0 | 4.0 | 6.0 | 1.0 | 13.0 |
In [32]:
tb_raw[tb_raw['country'] == 'Angola']
Out[32]:
country | year | sp_m_014 | sp_m_1524 | sp_m_2534 | sp_m_3544 | sp_m_4554 | sp_m_5564 | sp_m_65 | sp_f_014 | sp_f_1524 | sp_f_2534 | sp_f_3544 | sp_f_4554 | sp_f_5564 | sp_f_65 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
rownames | ||||||||||||||||
191 | Angola | 2000 | 186.0 | 999.0 | 1003.0 | 912.0 | 482.0 | 312.0 | 194.0 | 247.0 | 1142.0 | 1091.0 | 844.0 | 417.0 | 200.0 | 120.0 |
192 | Angola | 2001 | 230.0 | 892.0 | 752.0 | 648.0 | 420.0 | 197.0 | 173.0 | 279.0 | 993.0 | 869.0 | 647.0 | 323.0 | 200.0 | 182.0 |
193 | Angola | 2002 | 435.0 | 2223.0 | 2292.0 | 1915.0 | 1187.0 | 624.0 | 444.0 | 640.0 | 2610.0 | 2208.0 | 1600.0 | 972.0 | 533.0 | 305.0 |
194 | Angola | 2003 | 409.0 | 2355.0 | 2598.0 | 1908.0 | 1090.0 | 512.0 | 361.0 | 591.0 | 3078.0 | 2641.0 | 1747.0 | 1157.0 | 395.0 | 129.0 |
195 | Angola | 2004 | 554.0 | 2684.0 | 2659.0 | 1998.0 | 1196.0 | 561.0 | 321.0 | 733.0 | 3198.0 | 2772.0 | 1854.0 | 1029.0 | 505.0 | 269.0 |
196 | Angola | 2005 | 520.0 | 2549.0 | 2797.0 | 1918.0 | 1255.0 | 665.0 | 461.0 | 704.0 | 2926.0 | 2682.0 | 1797.0 | 1138.0 | 581.0 | 417.0 |
197 | Angola | 2006 | 540.0 | 2632.0 | 3049.0 | 2182.0 | 1397.0 | 729.0 | 428.0 | 689.0 | 2851.0 | 2892.0 | 1990.0 | 1223.0 | 583.0 | 314.0 |
198 | Angola | 2007 | 484.0 | 2824.0 | 3197.0 | 2255.0 | 1357.0 | 699.0 | 465.0 | 703.0 | 2943.0 | 2721.0 | 1812.0 | 1041.0 | 554.0 | 367.0 |
199 | Angola | 2008 | 367.0 | 2970.0 | 3493.0 | 2418.0 | 1480.0 | 733.0 | 420.0 | 512.0 | 3199.0 | 2786.0 | 2082.0 | 1209.0 | 556.0 | 337.0 |
200 | Angola | 2009 | 392.0 | 3054.0 | 3600.0 | 2420.0 | 1590.0 | 748.0 | 463.0 | 568.0 | 3152.0 | 2798.0 | 1790.0 | 1069.0 | 572.0 | 272.0 |
201 | Angola | 2010 | 448.0 | 2900.0 | 3584.0 | 2415.0 | 1424.0 | 691.0 | 355.0 | 558.0 | 2763.0 | 2594.0 | 1688.0 | 958.0 | 482.0 | 286.0 |
202 | Angola | 2011 | 501.0 | 3000.0 | 3792.0 | 2386.0 | 1395.0 | 680.0 | 455.0 | 708.0 | 2731.0 | 2563.0 | 1683.0 | 1006.0 | 457.0 | 346.0 |
203 | Angola | 2012 | 390.0 | 2804.0 | 3627.0 | 2529.0 | 1427.0 | 732.0 | 424.0 | 592.0 | 2501.0 | 2540.0 | 1617.0 | 1028.0 | 529.0 | 384.0 |
In [15]:
tb_raw.columns
Out[15]:
Index(['country', 'year', 'sp_m_014', 'sp_m_1524', 'sp_m_2534', 'sp_m_3544', 'sp_m_4554', 'sp_m_5564', 'sp_m_65', 'sp_f_014', 'sp_f_1524', 'sp_f_2534', 'sp_f_3544', 'sp_f_4554', 'sp_f_5564', 'sp_f_65', 'sn_m_014', 'sn_m_1524', 'sn_m_2534', 'sn_m_3544', 'sn_m_4554', 'sn_m_5564', 'sn_m_65', 'sn_f_014', 'sn_f_1524', 'sn_f_2534', 'sn_f_3544', 'sn_f_4554', 'sn_f_5564', 'sn_f_65', 'ep_m_014', 'ep_m_1524', 'ep_m_2534', 'ep_m_3544', 'ep_m_4554', 'ep_m_5564', 'ep_m_65', 'ep_f_014', 'ep_f_1524', 'ep_f_2534', 'ep_f_3544', 'ep_f_4554', 'ep_f_5564', 'ep_f_65', 'rel_m_014', 'rel_m_1524', 'rel_m_2534', 'rel_m_3544', 'rel_m_4554', 'rel_m_5564', 'rel_m_65', 'rel_f_014', 'rel_f_1524', 'rel_f_2534', 'rel_f_3544', 'rel_f_4554', 'rel_f_5564', 'rel_f_65'], dtype='object')
In [54]:
tb_melted = pd.melt(tb_raw, id_vars=['country', 'year'], value_name='cases')
tb_melted[tb_melted['country'] == 'Angola']
Out[54]:
country | year | variable | cases | |
---|---|---|---|---|
65 | Angola | 2000 | sp_m_014 | 186.0 |
66 | Angola | 2001 | sp_m_014 | 230.0 |
67 | Angola | 2002 | sp_m_014 | 435.0 |
68 | Angola | 2003 | sp_m_014 | 409.0 |
69 | Angola | 2004 | sp_m_014 | 554.0 |
70 | Angola | 2005 | sp_m_014 | 520.0 |
71 | Angola | 2006 | sp_m_014 | 540.0 |
72 | Angola | 2007 | sp_m_014 | 484.0 |
73 | Angola | 2008 | sp_m_014 | 367.0 |
74 | Angola | 2009 | sp_m_014 | 392.0 |
75 | Angola | 2010 | sp_m_014 | 448.0 |
76 | Angola | 2011 | sp_m_014 | 501.0 |
77 | Angola | 2012 | sp_m_014 | 390.0 |
2848 | Angola | 2000 | sp_m_1524 | 999.0 |
2849 | Angola | 2001 | sp_m_1524 | 892.0 |
2850 | Angola | 2002 | sp_m_1524 | 2223.0 |
2851 | Angola | 2003 | sp_m_1524 | 2355.0 |
2852 | Angola | 2004 | sp_m_1524 | 2684.0 |
2853 | Angola | 2005 | sp_m_1524 | 2549.0 |
2854 | Angola | 2006 | sp_m_1524 | 2632.0 |
2855 | Angola | 2007 | sp_m_1524 | 2824.0 |
2856 | Angola | 2008 | sp_m_1524 | 2970.0 |
2857 | Angola | 2009 | sp_m_1524 | 3054.0 |
2858 | Angola | 2010 | sp_m_1524 | 2900.0 |
2859 | Angola | 2011 | sp_m_1524 | 3000.0 |
2860 | Angola | 2012 | sp_m_1524 | 2804.0 |
5631 | Angola | 2000 | sp_m_2534 | 1003.0 |
5632 | Angola | 2001 | sp_m_2534 | 752.0 |
5633 | Angola | 2002 | sp_m_2534 | 2292.0 |
5634 | Angola | 2003 | sp_m_2534 | 2598.0 |
5635 | Angola | 2004 | sp_m_2534 | 2659.0 |
5636 | Angola | 2005 | sp_m_2534 | 2797.0 |
5637 | Angola | 2006 | sp_m_2534 | 3049.0 |
5638 | Angola | 2007 | sp_m_2534 | 3197.0 |
5639 | Angola | 2008 | sp_m_2534 | 3493.0 |
5640 | Angola | 2009 | sp_m_2534 | 3600.0 |
5641 | Angola | 2010 | sp_m_2534 | 3584.0 |
5642 | Angola | 2011 | sp_m_2534 | 3792.0 |
5643 | Angola | 2012 | sp_m_2534 | 3627.0 |
8414 | Angola | 2000 | sp_m_3544 | 912.0 |
8415 | Angola | 2001 | sp_m_3544 | 648.0 |
8416 | Angola | 2002 | sp_m_3544 | 1915.0 |
8417 | Angola | 2003 | sp_m_3544 | 1908.0 |
8418 | Angola | 2004 | sp_m_3544 | 1998.0 |
8419 | Angola | 2005 | sp_m_3544 | 1918.0 |
8420 | Angola | 2006 | sp_m_3544 | 2182.0 |
8421 | Angola | 2007 | sp_m_3544 | 2255.0 |
8422 | Angola | 2008 | sp_m_3544 | 2418.0 |
8423 | Angola | 2009 | sp_m_3544 | 2420.0 |
8424 | Angola | 2010 | sp_m_3544 | 2415.0 |
8425 | Angola | 2011 | sp_m_3544 | 2386.0 |
8426 | Angola | 2012 | sp_m_3544 | 2529.0 |
11197 | Angola | 2000 | sp_m_4554 | 482.0 |
11198 | Angola | 2001 | sp_m_4554 | 420.0 |
11199 | Angola | 2002 | sp_m_4554 | 1187.0 |
11200 | Angola | 2003 | sp_m_4554 | 1090.0 |
11201 | Angola | 2004 | sp_m_4554 | 1196.0 |
11202 | Angola | 2005 | sp_m_4554 | 1255.0 |
11203 | Angola | 2006 | sp_m_4554 | 1397.0 |
11204 | Angola | 2007 | sp_m_4554 | 1357.0 |
11205 | Angola | 2008 | sp_m_4554 | 1480.0 |
11206 | Angola | 2009 | sp_m_4554 | 1590.0 |
11207 | Angola | 2010 | sp_m_4554 | 1424.0 |
11208 | Angola | 2011 | sp_m_4554 | 1395.0 |
11209 | Angola | 2012 | sp_m_4554 | 1427.0 |
13980 | Angola | 2000 | sp_m_5564 | 312.0 |
13981 | Angola | 2001 | sp_m_5564 | 197.0 |
13982 | Angola | 2002 | sp_m_5564 | 624.0 |
13983 | Angola | 2003 | sp_m_5564 | 512.0 |
13984 | Angola | 2004 | sp_m_5564 | 561.0 |
13985 | Angola | 2005 | sp_m_5564 | 665.0 |
13986 | Angola | 2006 | sp_m_5564 | 729.0 |
13987 | Angola | 2007 | sp_m_5564 | 699.0 |
13988 | Angola | 2008 | sp_m_5564 | 733.0 |
13989 | Angola | 2009 | sp_m_5564 | 748.0 |
13990 | Angola | 2010 | sp_m_5564 | 691.0 |
13991 | Angola | 2011 | sp_m_5564 | 680.0 |
13992 | Angola | 2012 | sp_m_5564 | 732.0 |
16763 | Angola | 2000 | sp_m_65 | 194.0 |
16764 | Angola | 2001 | sp_m_65 | 173.0 |
16765 | Angola | 2002 | sp_m_65 | 444.0 |
16766 | Angola | 2003 | sp_m_65 | 361.0 |
16767 | Angola | 2004 | sp_m_65 | 321.0 |
16768 | Angola | 2005 | sp_m_65 | 461.0 |
16769 | Angola | 2006 | sp_m_65 | 428.0 |
16770 | Angola | 2007 | sp_m_65 | 465.0 |
16771 | Angola | 2008 | sp_m_65 | 420.0 |
16772 | Angola | 2009 | sp_m_65 | 463.0 |
16773 | Angola | 2010 | sp_m_65 | 355.0 |
16774 | Angola | 2011 | sp_m_65 | 455.0 |
16775 | Angola | 2012 | sp_m_65 | 424.0 |
19546 | Angola | 2000 | sp_f_014 | 247.0 |
19547 | Angola | 2001 | sp_f_014 | 279.0 |
19548 | Angola | 2002 | sp_f_014 | 640.0 |
19549 | Angola | 2003 | sp_f_014 | 591.0 |
19550 | Angola | 2004 | sp_f_014 | 733.0 |
19551 | Angola | 2005 | sp_f_014 | 704.0 |
19552 | Angola | 2006 | sp_f_014 | 689.0 |
19553 | Angola | 2007 | sp_f_014 | 703.0 |
19554 | Angola | 2008 | sp_f_014 | 512.0 |
19555 | Angola | 2009 | sp_f_014 | 568.0 |
19556 | Angola | 2010 | sp_f_014 | 558.0 |
19557 | Angola | 2011 | sp_f_014 | 708.0 |
19558 | Angola | 2012 | sp_f_014 | 592.0 |
22329 | Angola | 2000 | sp_f_1524 | 1142.0 |
22330 | Angola | 2001 | sp_f_1524 | 993.0 |
22331 | Angola | 2002 | sp_f_1524 | 2610.0 |
22332 | Angola | 2003 | sp_f_1524 | 3078.0 |
22333 | Angola | 2004 | sp_f_1524 | 3198.0 |
22334 | Angola | 2005 | sp_f_1524 | 2926.0 |
22335 | Angola | 2006 | sp_f_1524 | 2851.0 |
22336 | Angola | 2007 | sp_f_1524 | 2943.0 |
22337 | Angola | 2008 | sp_f_1524 | 3199.0 |
22338 | Angola | 2009 | sp_f_1524 | 3152.0 |
22339 | Angola | 2010 | sp_f_1524 | 2763.0 |
22340 | Angola | 2011 | sp_f_1524 | 2731.0 |
22341 | Angola | 2012 | sp_f_1524 | 2501.0 |
25112 | Angola | 2000 | sp_f_2534 | 1091.0 |
25113 | Angola | 2001 | sp_f_2534 | 869.0 |
25114 | Angola | 2002 | sp_f_2534 | 2208.0 |
25115 | Angola | 2003 | sp_f_2534 | 2641.0 |
25116 | Angola | 2004 | sp_f_2534 | 2772.0 |
25117 | Angola | 2005 | sp_f_2534 | 2682.0 |
25118 | Angola | 2006 | sp_f_2534 | 2892.0 |
25119 | Angola | 2007 | sp_f_2534 | 2721.0 |
25120 | Angola | 2008 | sp_f_2534 | 2786.0 |
25121 | Angola | 2009 | sp_f_2534 | 2798.0 |
25122 | Angola | 2010 | sp_f_2534 | 2594.0 |
25123 | Angola | 2011 | sp_f_2534 | 2563.0 |
25124 | Angola | 2012 | sp_f_2534 | 2540.0 |
27895 | Angola | 2000 | sp_f_3544 | 844.0 |
27896 | Angola | 2001 | sp_f_3544 | 647.0 |
27897 | Angola | 2002 | sp_f_3544 | 1600.0 |
27898 | Angola | 2003 | sp_f_3544 | 1747.0 |
27899 | Angola | 2004 | sp_f_3544 | 1854.0 |
27900 | Angola | 2005 | sp_f_3544 | 1797.0 |
27901 | Angola | 2006 | sp_f_3544 | 1990.0 |
27902 | Angola | 2007 | sp_f_3544 | 1812.0 |
27903 | Angola | 2008 | sp_f_3544 | 2082.0 |
27904 | Angola | 2009 | sp_f_3544 | 1790.0 |
27905 | Angola | 2010 | sp_f_3544 | 1688.0 |
27906 | Angola | 2011 | sp_f_3544 | 1683.0 |
27907 | Angola | 2012 | sp_f_3544 | 1617.0 |
30678 | Angola | 2000 | sp_f_4554 | 417.0 |
30679 | Angola | 2001 | sp_f_4554 | 323.0 |
30680 | Angola | 2002 | sp_f_4554 | 972.0 |
30681 | Angola | 2003 | sp_f_4554 | 1157.0 |
30682 | Angola | 2004 | sp_f_4554 | 1029.0 |
30683 | Angola | 2005 | sp_f_4554 | 1138.0 |
30684 | Angola | 2006 | sp_f_4554 | 1223.0 |
30685 | Angola | 2007 | sp_f_4554 | 1041.0 |
30686 | Angola | 2008 | sp_f_4554 | 1209.0 |
30687 | Angola | 2009 | sp_f_4554 | 1069.0 |
30688 | Angola | 2010 | sp_f_4554 | 958.0 |
30689 | Angola | 2011 | sp_f_4554 | 1006.0 |
30690 | Angola | 2012 | sp_f_4554 | 1028.0 |
33461 | Angola | 2000 | sp_f_5564 | 200.0 |
33462 | Angola | 2001 | sp_f_5564 | 200.0 |
33463 | Angola | 2002 | sp_f_5564 | 533.0 |
33464 | Angola | 2003 | sp_f_5564 | 395.0 |
33465 | Angola | 2004 | sp_f_5564 | 505.0 |
33466 | Angola | 2005 | sp_f_5564 | 581.0 |
33467 | Angola | 2006 | sp_f_5564 | 583.0 |
33468 | Angola | 2007 | sp_f_5564 | 554.0 |
33469 | Angola | 2008 | sp_f_5564 | 556.0 |
33470 | Angola | 2009 | sp_f_5564 | 572.0 |
33471 | Angola | 2010 | sp_f_5564 | 482.0 |
33472 | Angola | 2011 | sp_f_5564 | 457.0 |
33473 | Angola | 2012 | sp_f_5564 | 529.0 |
36244 | Angola | 2000 | sp_f_65 | 120.0 |
36245 | Angola | 2001 | sp_f_65 | 182.0 |
36246 | Angola | 2002 | sp_f_65 | 305.0 |
36247 | Angola | 2003 | sp_f_65 | 129.0 |
36248 | Angola | 2004 | sp_f_65 | 269.0 |
36249 | Angola | 2005 | sp_f_65 | 417.0 |
36250 | Angola | 2006 | sp_f_65 | 314.0 |
36251 | Angola | 2007 | sp_f_65 | 367.0 |
36252 | Angola | 2008 | sp_f_65 | 337.0 |
36253 | Angola | 2009 | sp_f_65 | 272.0 |
36254 | Angola | 2010 | sp_f_65 | 286.0 |
36255 | Angola | 2011 | sp_f_65 | 346.0 |
36256 | Angola | 2012 | sp_f_65 | 384.0 |
In [56]:
age_range_map = {
'014': '<=14yo',
'1524': '15-24yo',
'2534': '25-34yo',
'3544': '35-44yo',
'4554': '45-54yo',
'5564': '55-64yo',
'65': '>=65yo'
}
tb_melted['gender'] = tb_melted['variable'].str[3]
tb_melted['age_range'] = tb_melted['variable'].str[5:].map(age_range_map)
tb = tb_melted[['country', 'year', 'gender', 'age_range', 'cases']]
tb[tb['country'] == 'Angola']
Out[56]:
country | year | gender | age_range | cases | |
---|---|---|---|---|---|
65 | Angola | 2000 | m | <=14yo | 186.0 |
66 | Angola | 2001 | m | <=14yo | 230.0 |
67 | Angola | 2002 | m | <=14yo | 435.0 |
68 | Angola | 2003 | m | <=14yo | 409.0 |
69 | Angola | 2004 | m | <=14yo | 554.0 |
70 | Angola | 2005 | m | <=14yo | 520.0 |
71 | Angola | 2006 | m | <=14yo | 540.0 |
72 | Angola | 2007 | m | <=14yo | 484.0 |
73 | Angola | 2008 | m | <=14yo | 367.0 |
74 | Angola | 2009 | m | <=14yo | 392.0 |
75 | Angola | 2010 | m | <=14yo | 448.0 |
76 | Angola | 2011 | m | <=14yo | 501.0 |
77 | Angola | 2012 | m | <=14yo | 390.0 |
2848 | Angola | 2000 | m | 15-24yo | 999.0 |
2849 | Angola | 2001 | m | 15-24yo | 892.0 |
2850 | Angola | 2002 | m | 15-24yo | 2223.0 |
2851 | Angola | 2003 | m | 15-24yo | 2355.0 |
2852 | Angola | 2004 | m | 15-24yo | 2684.0 |
2853 | Angola | 2005 | m | 15-24yo | 2549.0 |
2854 | Angola | 2006 | m | 15-24yo | 2632.0 |
2855 | Angola | 2007 | m | 15-24yo | 2824.0 |
2856 | Angola | 2008 | m | 15-24yo | 2970.0 |
2857 | Angola | 2009 | m | 15-24yo | 3054.0 |
2858 | Angola | 2010 | m | 15-24yo | 2900.0 |
2859 | Angola | 2011 | m | 15-24yo | 3000.0 |
2860 | Angola | 2012 | m | 15-24yo | 2804.0 |
5631 | Angola | 2000 | m | 25-34yo | 1003.0 |
5632 | Angola | 2001 | m | 25-34yo | 752.0 |
5633 | Angola | 2002 | m | 25-34yo | 2292.0 |
5634 | Angola | 2003 | m | 25-34yo | 2598.0 |
5635 | Angola | 2004 | m | 25-34yo | 2659.0 |
5636 | Angola | 2005 | m | 25-34yo | 2797.0 |
5637 | Angola | 2006 | m | 25-34yo | 3049.0 |
5638 | Angola | 2007 | m | 25-34yo | 3197.0 |
5639 | Angola | 2008 | m | 25-34yo | 3493.0 |
5640 | Angola | 2009 | m | 25-34yo | 3600.0 |
5641 | Angola | 2010 | m | 25-34yo | 3584.0 |
5642 | Angola | 2011 | m | 25-34yo | 3792.0 |
5643 | Angola | 2012 | m | 25-34yo | 3627.0 |
8414 | Angola | 2000 | m | 35-44yo | 912.0 |
8415 | Angola | 2001 | m | 35-44yo | 648.0 |
8416 | Angola | 2002 | m | 35-44yo | 1915.0 |
8417 | Angola | 2003 | m | 35-44yo | 1908.0 |
8418 | Angola | 2004 | m | 35-44yo | 1998.0 |
8419 | Angola | 2005 | m | 35-44yo | 1918.0 |
8420 | Angola | 2006 | m | 35-44yo | 2182.0 |
8421 | Angola | 2007 | m | 35-44yo | 2255.0 |
8422 | Angola | 2008 | m | 35-44yo | 2418.0 |
8423 | Angola | 2009 | m | 35-44yo | 2420.0 |
8424 | Angola | 2010 | m | 35-44yo | 2415.0 |
8425 | Angola | 2011 | m | 35-44yo | 2386.0 |
8426 | Angola | 2012 | m | 35-44yo | 2529.0 |
11197 | Angola | 2000 | m | 45-54yo | 482.0 |
11198 | Angola | 2001 | m | 45-54yo | 420.0 |
11199 | Angola | 2002 | m | 45-54yo | 1187.0 |
11200 | Angola | 2003 | m | 45-54yo | 1090.0 |
11201 | Angola | 2004 | m | 45-54yo | 1196.0 |
11202 | Angola | 2005 | m | 45-54yo | 1255.0 |
11203 | Angola | 2006 | m | 45-54yo | 1397.0 |
11204 | Angola | 2007 | m | 45-54yo | 1357.0 |
11205 | Angola | 2008 | m | 45-54yo | 1480.0 |
11206 | Angola | 2009 | m | 45-54yo | 1590.0 |
11207 | Angola | 2010 | m | 45-54yo | 1424.0 |
11208 | Angola | 2011 | m | 45-54yo | 1395.0 |
11209 | Angola | 2012 | m | 45-54yo | 1427.0 |
13980 | Angola | 2000 | m | 55-64yo | 312.0 |
13981 | Angola | 2001 | m | 55-64yo | 197.0 |
13982 | Angola | 2002 | m | 55-64yo | 624.0 |
13983 | Angola | 2003 | m | 55-64yo | 512.0 |
13984 | Angola | 2004 | m | 55-64yo | 561.0 |
13985 | Angola | 2005 | m | 55-64yo | 665.0 |
13986 | Angola | 2006 | m | 55-64yo | 729.0 |
13987 | Angola | 2007 | m | 55-64yo | 699.0 |
13988 | Angola | 2008 | m | 55-64yo | 733.0 |
13989 | Angola | 2009 | m | 55-64yo | 748.0 |
13990 | Angola | 2010 | m | 55-64yo | 691.0 |
13991 | Angola | 2011 | m | 55-64yo | 680.0 |
13992 | Angola | 2012 | m | 55-64yo | 732.0 |
16763 | Angola | 2000 | m | >=65yo | 194.0 |
16764 | Angola | 2001 | m | >=65yo | 173.0 |
16765 | Angola | 2002 | m | >=65yo | 444.0 |
16766 | Angola | 2003 | m | >=65yo | 361.0 |
16767 | Angola | 2004 | m | >=65yo | 321.0 |
16768 | Angola | 2005 | m | >=65yo | 461.0 |
16769 | Angola | 2006 | m | >=65yo | 428.0 |
16770 | Angola | 2007 | m | >=65yo | 465.0 |
16771 | Angola | 2008 | m | >=65yo | 420.0 |
16772 | Angola | 2009 | m | >=65yo | 463.0 |
16773 | Angola | 2010 | m | >=65yo | 355.0 |
16774 | Angola | 2011 | m | >=65yo | 455.0 |
16775 | Angola | 2012 | m | >=65yo | 424.0 |
19546 | Angola | 2000 | f | <=14yo | 247.0 |
19547 | Angola | 2001 | f | <=14yo | 279.0 |
19548 | Angola | 2002 | f | <=14yo | 640.0 |
19549 | Angola | 2003 | f | <=14yo | 591.0 |
19550 | Angola | 2004 | f | <=14yo | 733.0 |
19551 | Angola | 2005 | f | <=14yo | 704.0 |
19552 | Angola | 2006 | f | <=14yo | 689.0 |
19553 | Angola | 2007 | f | <=14yo | 703.0 |
19554 | Angola | 2008 | f | <=14yo | 512.0 |
19555 | Angola | 2009 | f | <=14yo | 568.0 |
19556 | Angola | 2010 | f | <=14yo | 558.0 |
19557 | Angola | 2011 | f | <=14yo | 708.0 |
19558 | Angola | 2012 | f | <=14yo | 592.0 |
22329 | Angola | 2000 | f | 15-24yo | 1142.0 |
22330 | Angola | 2001 | f | 15-24yo | 993.0 |
22331 | Angola | 2002 | f | 15-24yo | 2610.0 |
22332 | Angola | 2003 | f | 15-24yo | 3078.0 |
22333 | Angola | 2004 | f | 15-24yo | 3198.0 |
22334 | Angola | 2005 | f | 15-24yo | 2926.0 |
22335 | Angola | 2006 | f | 15-24yo | 2851.0 |
22336 | Angola | 2007 | f | 15-24yo | 2943.0 |
22337 | Angola | 2008 | f | 15-24yo | 3199.0 |
22338 | Angola | 2009 | f | 15-24yo | 3152.0 |
22339 | Angola | 2010 | f | 15-24yo | 2763.0 |
22340 | Angola | 2011 | f | 15-24yo | 2731.0 |
22341 | Angola | 2012 | f | 15-24yo | 2501.0 |
25112 | Angola | 2000 | f | 25-34yo | 1091.0 |
25113 | Angola | 2001 | f | 25-34yo | 869.0 |
25114 | Angola | 2002 | f | 25-34yo | 2208.0 |
25115 | Angola | 2003 | f | 25-34yo | 2641.0 |
25116 | Angola | 2004 | f | 25-34yo | 2772.0 |
25117 | Angola | 2005 | f | 25-34yo | 2682.0 |
25118 | Angola | 2006 | f | 25-34yo | 2892.0 |
25119 | Angola | 2007 | f | 25-34yo | 2721.0 |
25120 | Angola | 2008 | f | 25-34yo | 2786.0 |
25121 | Angola | 2009 | f | 25-34yo | 2798.0 |
25122 | Angola | 2010 | f | 25-34yo | 2594.0 |
25123 | Angola | 2011 | f | 25-34yo | 2563.0 |
25124 | Angola | 2012 | f | 25-34yo | 2540.0 |
27895 | Angola | 2000 | f | 35-44yo | 844.0 |
27896 | Angola | 2001 | f | 35-44yo | 647.0 |
27897 | Angola | 2002 | f | 35-44yo | 1600.0 |
27898 | Angola | 2003 | f | 35-44yo | 1747.0 |
27899 | Angola | 2004 | f | 35-44yo | 1854.0 |
27900 | Angola | 2005 | f | 35-44yo | 1797.0 |
27901 | Angola | 2006 | f | 35-44yo | 1990.0 |
27902 | Angola | 2007 | f | 35-44yo | 1812.0 |
27903 | Angola | 2008 | f | 35-44yo | 2082.0 |
27904 | Angola | 2009 | f | 35-44yo | 1790.0 |
27905 | Angola | 2010 | f | 35-44yo | 1688.0 |
27906 | Angola | 2011 | f | 35-44yo | 1683.0 |
27907 | Angola | 2012 | f | 35-44yo | 1617.0 |
30678 | Angola | 2000 | f | 45-54yo | 417.0 |
30679 | Angola | 2001 | f | 45-54yo | 323.0 |
30680 | Angola | 2002 | f | 45-54yo | 972.0 |
30681 | Angola | 2003 | f | 45-54yo | 1157.0 |
30682 | Angola | 2004 | f | 45-54yo | 1029.0 |
30683 | Angola | 2005 | f | 45-54yo | 1138.0 |
30684 | Angola | 2006 | f | 45-54yo | 1223.0 |
30685 | Angola | 2007 | f | 45-54yo | 1041.0 |
30686 | Angola | 2008 | f | 45-54yo | 1209.0 |
30687 | Angola | 2009 | f | 45-54yo | 1069.0 |
30688 | Angola | 2010 | f | 45-54yo | 958.0 |
30689 | Angola | 2011 | f | 45-54yo | 1006.0 |
30690 | Angola | 2012 | f | 45-54yo | 1028.0 |
33461 | Angola | 2000 | f | 55-64yo | 200.0 |
33462 | Angola | 2001 | f | 55-64yo | 200.0 |
33463 | Angola | 2002 | f | 55-64yo | 533.0 |
33464 | Angola | 2003 | f | 55-64yo | 395.0 |
33465 | Angola | 2004 | f | 55-64yo | 505.0 |
33466 | Angola | 2005 | f | 55-64yo | 581.0 |
33467 | Angola | 2006 | f | 55-64yo | 583.0 |
33468 | Angola | 2007 | f | 55-64yo | 554.0 |
33469 | Angola | 2008 | f | 55-64yo | 556.0 |
33470 | Angola | 2009 | f | 55-64yo | 572.0 |
33471 | Angola | 2010 | f | 55-64yo | 482.0 |
33472 | Angola | 2011 | f | 55-64yo | 457.0 |
33473 | Angola | 2012 | f | 55-64yo | 529.0 |
36244 | Angola | 2000 | f | >=65yo | 120.0 |
36245 | Angola | 2001 | f | >=65yo | 182.0 |
36246 | Angola | 2002 | f | >=65yo | 305.0 |
36247 | Angola | 2003 | f | >=65yo | 129.0 |
36248 | Angola | 2004 | f | >=65yo | 269.0 |
36249 | Angola | 2005 | f | >=65yo | 417.0 |
36250 | Angola | 2006 | f | >=65yo | 314.0 |
36251 | Angola | 2007 | f | >=65yo | 367.0 |
36252 | Angola | 2008 | f | >=65yo | 337.0 |
36253 | Angola | 2009 | f | >=65yo | 272.0 |
36254 | Angola | 2010 | f | >=65yo | 286.0 |
36255 | Angola | 2011 | f | >=65yo | 346.0 |
36256 | Angola | 2012 | f | >=65yo | 384.0 |
In [80]:
tb_cases_per_gender_2000 = (
tb[tb['year'].between(2000, 2006)]
.pivot_table(index='country', columns='gender', values='cases', aggfunc='sum')
)
total_cases_2000 = tb_cases_per_gender_2000.sum(axis=1)
tb_rate_per_gender_2000 = tb_cases_per_gender_2000.div(total_cases_2000, axis=0)
tb_rate_per_gender_2000.round(3) * 100
Out[80]:
gender | f | m |
---|---|---|
country | ||
Afghanistan | 67.8 | 32.2 |
Albania | 32.4 | 67.6 |
Algeria | 41.1 | 58.9 |
American Samoa | 64.7 | 35.3 |
Andorra | 35.7 | 64.3 |
Angola | 50.2 | 49.8 |
Anguilla | 100.0 | 0.0 |
Antigua and Barbuda | 68.8 | 31.2 |
Argentina | 42.9 | 57.1 |
Armenia | 17.5 | 82.5 |
Aruba | NaN | NaN |
Australia | 37.4 | 62.6 |
Austria | 27.8 | 72.2 |
Azerbaijan | 20.9 | 79.1 |
Bahamas | 41.1 | 58.9 |
Bahrain | 31.0 | 69.0 |
Bangladesh | 31.2 | 68.8 |
Barbados | 31.6 | 68.4 |
Belarus | 19.5 | 80.5 |
Belgium | 30.4 | 69.6 |
Belize | 36.6 | 63.4 |
Benin | 36.2 | 63.8 |
Bermuda | 50.0 | 50.0 |
Bhutan | 43.4 | 56.6 |
Bolivia (Plurinational State of) | 40.6 | 59.4 |
Bosnia and Herzegovina | 42.6 | 57.4 |
Botswana | 43.7 | 56.3 |
Brazil | 34.9 | 65.1 |
British Virgin Islands | 50.0 | 50.0 |
Brunei Darussalam | 38.6 | 61.4 |
Bulgaria | 31.4 | 68.6 |
Burkina Faso | 32.3 | 67.7 |
Burundi | 38.5 | 61.5 |
Cabo Verde | 39.6 | 60.4 |
Cambodia | 48.8 | 51.2 |
Cameroon | 40.1 | 59.9 |
Canada | 42.6 | 57.4 |
Cayman Islands | 14.3 | 85.7 |
Central African Republic | 43.8 | 56.2 |
Chad | 39.4 | 60.6 |
Chile | 32.7 | 67.3 |
China | 31.3 | 68.7 |
China, Hong Kong SAR | 30.9 | 69.1 |
China, Macao SAR | 28.9 | 71.1 |
Colombia | 40.0 | 60.0 |
Comoros | 43.1 | 56.9 |
Congo | 46.3 | 53.7 |
Cook Islands | 0.0 | 100.0 |
Costa Rica | 35.1 | 64.9 |
Cote d'Ivoire | 41.1 | 58.9 |
Croatia | 33.2 | 66.8 |
Cuba | 24.0 | 76.0 |
Cyprus | 27.1 | 72.9 |
Czech Republic | 27.1 | 72.9 |
Democratic People's Republic of Korea | 38.5 | 61.5 |
Democratic Republic of the Congo | 46.9 | 53.1 |
Denmark | 38.1 | 61.9 |
Djibouti | 32.4 | 67.6 |
Dominica | 50.0 | 50.0 |
Dominican Republic | 39.6 | 60.4 |
Ecuador | 40.7 | 59.3 |
Egypt | 34.0 | 66.0 |
El Salvador | 39.6 | 60.4 |
Equatorial Guinea | 39.7 | 60.3 |
Eritrea | 53.5 | 46.5 |
Estonia | 26.6 | 73.4 |
Ethiopia | 45.3 | 54.7 |
Fiji | 38.5 | 61.5 |
Finland | 34.9 | 65.1 |
France | 34.2 | 65.8 |
French Polynesia | 45.5 | 54.5 |
Gabon | 40.2 | 59.8 |
Gambia | 29.8 | 70.2 |
Georgia | 24.0 | 76.0 |
Germany | 34.5 | 65.5 |
Ghana | 34.9 | 65.1 |
Greece | 29.1 | 70.9 |
Greenland | NaN | NaN |
Grenada | 50.0 | 50.0 |
Guam | 35.1 | 64.9 |
Guatemala | 46.1 | 53.9 |
Guinea | 34.0 | 66.0 |
Guinea-Bissau | 39.8 | 60.2 |
Guyana | 31.8 | 68.2 |
Haiti | 49.9 | 50.1 |
Honduras | 44.6 | 55.4 |
Hungary | 26.3 | 73.7 |
Iceland | 40.0 | 60.0 |
India | 30.9 | 69.1 |
Indonesia | 41.8 | 58.2 |
Iran (Islamic Republic of) | 49.8 | 50.2 |
Iraq | 34.5 | 65.5 |
Ireland | 35.8 | 64.2 |
Israel | 38.7 | 61.3 |
Italy | 34.7 | 65.3 |
Jamaica | 28.4 | 71.6 |
Japan | 30.4 | 69.6 |
Jordan | 34.2 | 65.8 |
Kazakhstan | 37.8 | 62.2 |
Kenya | 42.1 | 57.9 |
Kiribati | 47.0 | 53.0 |
Kuwait | 35.4 | 64.6 |
Kyrgyzstan | 39.1 | 60.9 |
Lao People's Democratic Republic | 38.7 | 61.3 |
Latvia | 26.2 | 73.8 |
Lebanon | 41.2 | 58.8 |
Lesotho | 44.2 | 55.8 |
Liberia | 43.0 | 57.0 |
Libya | 21.5 | 78.5 |
Lithuania | 26.7 | 73.3 |
Luxembourg | 39.3 | 60.7 |
Madagascar | 40.8 | 59.2 |
Malawi | 49.5 | 50.5 |
Malaysia | 31.3 | 68.7 |
Maldives | 38.7 | 61.3 |
Mali | 32.2 | 67.8 |
Malta | 16.0 | 84.0 |
Marshall Islands | 51.1 | 48.9 |
Mauritania | 28.7 | 71.3 |
Mauritius | 29.4 | 70.6 |
Mexico | 38.4 | 61.6 |
Micronesia (Federated States of) | 55.5 | 44.5 |
Monaco | NaN | NaN |
Mongolia | 46.4 | 53.6 |
Montenegro | 34.4 | 65.6 |
Montserrat | 0.0 | 100.0 |
Morocco | 34.1 | 65.9 |
Mozambique | NaN | NaN |
Myanmar | 34.1 | 65.9 |
Namibia | 42.9 | 57.1 |
Nauru | 50.0 | 50.0 |
Nepal | 32.9 | 67.1 |
Netherlands | 32.0 | 68.0 |
Netherlands Antilles | 23.1 | 76.9 |
New Caledonia | 42.3 | 57.7 |
New Zealand | 46.8 | 53.2 |
Nicaragua | 44.4 | 55.6 |
Niger | 28.2 | 71.8 |
Nigeria | 41.8 | 58.2 |
Niue | 100.0 | 0.0 |
Northern Mariana Islands | 46.4 | 53.6 |
Norway | 42.4 | 57.6 |
Oman | 39.6 | 60.4 |
Pakistan | 48.7 | 51.3 |
Palau | 32.4 | 67.6 |
Panama | 36.2 | 63.8 |
Papua New Guinea | 48.4 | 51.6 |
Paraguay | 35.7 | 64.3 |
Peru | 42.7 | 57.3 |
Philippines | 30.9 | 69.1 |
Poland | 30.4 | 69.6 |
Portugal | 25.9 | 74.1 |
Puerto Rico | 32.1 | 67.9 |
Qatar | 22.2 | 77.8 |
Republic of Korea | 36.9 | 63.1 |
Republic of Moldova | 23.8 | 76.2 |
Romania | 28.6 | 71.4 |
Russian Federation | 23.8 | 76.2 |
Rwanda | 36.2 | 63.8 |
Saint Kitts and Nevis | 75.0 | 25.0 |
Saint Lucia | 37.7 | 62.3 |
Saint Vincent and the Grenadines | 24.4 | 75.6 |
Samoa | 50.0 | 50.0 |
San Marino | 0.0 | 100.0 |
Sao Tome and Principe | 47.5 | 52.5 |
Saudi Arabia | 39.3 | 60.7 |
Senegal | 31.4 | 68.6 |
Serbia | 38.9 | 61.1 |
Serbia & Montenegro | 39.8 | 60.2 |
Seychelles | 28.8 | 71.2 |
Sierra Leone | 38.4 | 61.6 |
Singapore | 25.9 | 74.1 |
Slovakia | 32.8 | 67.2 |
Slovenia | 34.6 | 65.4 |
Solomon Islands | 53.4 | 46.6 |
Somalia | 35.5 | 64.5 |
South Africa | 43.7 | 56.3 |
Spain | 32.0 | 68.0 |
Sri Lanka | 27.2 | 72.8 |
Sudan | 40.1 | 59.9 |
Suriname | 28.4 | 71.6 |
Swaziland | 48.8 | 51.2 |
Sweden | 43.9 | 56.1 |
Switzerland | 37.0 | 63.0 |
Syrian Arab Republic | 35.1 | 64.9 |
Tajikistan | 40.8 | 59.2 |
Thailand | 29.7 | 70.3 |
The Former Yugoslav Republic of Macedonia | 36.9 | 63.1 |
Timor-Leste | 42.5 | 57.5 |
Togo | 38.8 | 61.2 |
Tokelau | NaN | NaN |
Tonga | 40.2 | 59.8 |
Trinidad and Tobago | 29.6 | 70.4 |
Tunisia | 26.8 | 73.2 |
Turkey | 27.0 | 73.0 |
Turkmenistan | 34.9 | 65.1 |
Turks and Caicos Islands | 66.7 | 33.3 |
Tuvalu | 38.5 | 61.5 |
US Virgin Islands | NaN | NaN |
Uganda | 41.5 | 58.5 |
Ukraine | 23.1 | 76.9 |
United Arab Emirates | 45.7 | 54.3 |
United Kingdom of Great Britain and Northern Ireland | 40.2 | 59.8 |
United Republic of Tanzania | 37.7 | 62.3 |
United States of America | 31.9 | 68.1 |
Uruguay | 30.7 | 69.3 |
Uzbekistan | 42.2 | 57.8 |
Vanuatu | 45.3 | 54.7 |
Venezuela (Bolivarian Republic of) | 39.4 | 60.6 |
Viet Nam | 28.8 | 71.2 |
Wallis and Futuna Islands | 41.2 | 58.8 |
West Bank and Gaza Strip | 33.3 | 66.7 |
Yemen | 45.1 | 54.9 |
Zambia | 43.6 | 56.4 |
Zimbabwe | 46.4 | 53.6 |
In [81]:
tb['year_range'] = tb['year'].between(2000, 2006).map({True: '2000-2006', False: '2007-2012'})
tb[tb['country'] == 'Angola']
Out[81]:
country | year | gender | age_range | cases | year_class | year_range | |
---|---|---|---|---|---|---|---|
65 | Angola | 2000 | m | <=14yo | 186.0 | 2000-2006 | 2000-2006 |
66 | Angola | 2001 | m | <=14yo | 230.0 | 2000-2006 | 2000-2006 |
67 | Angola | 2002 | m | <=14yo | 435.0 | 2000-2006 | 2000-2006 |
68 | Angola | 2003 | m | <=14yo | 409.0 | 2000-2006 | 2000-2006 |
69 | Angola | 2004 | m | <=14yo | 554.0 | 2000-2006 | 2000-2006 |
70 | Angola | 2005 | m | <=14yo | 520.0 | 2000-2006 | 2000-2006 |
71 | Angola | 2006 | m | <=14yo | 540.0 | 2000-2006 | 2000-2006 |
72 | Angola | 2007 | m | <=14yo | 484.0 | 2007-2012 | 2007-2012 |
73 | Angola | 2008 | m | <=14yo | 367.0 | 2007-2012 | 2007-2012 |
74 | Angola | 2009 | m | <=14yo | 392.0 | 2007-2012 | 2007-2012 |
75 | Angola | 2010 | m | <=14yo | 448.0 | 2007-2012 | 2007-2012 |
76 | Angola | 2011 | m | <=14yo | 501.0 | 2007-2012 | 2007-2012 |
77 | Angola | 2012 | m | <=14yo | 390.0 | 2007-2012 | 2007-2012 |
2848 | Angola | 2000 | m | 15-24yo | 999.0 | 2000-2006 | 2000-2006 |
2849 | Angola | 2001 | m | 15-24yo | 892.0 | 2000-2006 | 2000-2006 |
2850 | Angola | 2002 | m | 15-24yo | 2223.0 | 2000-2006 | 2000-2006 |
2851 | Angola | 2003 | m | 15-24yo | 2355.0 | 2000-2006 | 2000-2006 |
2852 | Angola | 2004 | m | 15-24yo | 2684.0 | 2000-2006 | 2000-2006 |
2853 | Angola | 2005 | m | 15-24yo | 2549.0 | 2000-2006 | 2000-2006 |
2854 | Angola | 2006 | m | 15-24yo | 2632.0 | 2000-2006 | 2000-2006 |
2855 | Angola | 2007 | m | 15-24yo | 2824.0 | 2007-2012 | 2007-2012 |
2856 | Angola | 2008 | m | 15-24yo | 2970.0 | 2007-2012 | 2007-2012 |
2857 | Angola | 2009 | m | 15-24yo | 3054.0 | 2007-2012 | 2007-2012 |
2858 | Angola | 2010 | m | 15-24yo | 2900.0 | 2007-2012 | 2007-2012 |
2859 | Angola | 2011 | m | 15-24yo | 3000.0 | 2007-2012 | 2007-2012 |
2860 | Angola | 2012 | m | 15-24yo | 2804.0 | 2007-2012 | 2007-2012 |
5631 | Angola | 2000 | m | 25-34yo | 1003.0 | 2000-2006 | 2000-2006 |
5632 | Angola | 2001 | m | 25-34yo | 752.0 | 2000-2006 | 2000-2006 |
5633 | Angola | 2002 | m | 25-34yo | 2292.0 | 2000-2006 | 2000-2006 |
5634 | Angola | 2003 | m | 25-34yo | 2598.0 | 2000-2006 | 2000-2006 |
5635 | Angola | 2004 | m | 25-34yo | 2659.0 | 2000-2006 | 2000-2006 |
5636 | Angola | 2005 | m | 25-34yo | 2797.0 | 2000-2006 | 2000-2006 |
5637 | Angola | 2006 | m | 25-34yo | 3049.0 | 2000-2006 | 2000-2006 |
5638 | Angola | 2007 | m | 25-34yo | 3197.0 | 2007-2012 | 2007-2012 |
5639 | Angola | 2008 | m | 25-34yo | 3493.0 | 2007-2012 | 2007-2012 |
5640 | Angola | 2009 | m | 25-34yo | 3600.0 | 2007-2012 | 2007-2012 |
5641 | Angola | 2010 | m | 25-34yo | 3584.0 | 2007-2012 | 2007-2012 |
5642 | Angola | 2011 | m | 25-34yo | 3792.0 | 2007-2012 | 2007-2012 |
5643 | Angola | 2012 | m | 25-34yo | 3627.0 | 2007-2012 | 2007-2012 |
8414 | Angola | 2000 | m | 35-44yo | 912.0 | 2000-2006 | 2000-2006 |
8415 | Angola | 2001 | m | 35-44yo | 648.0 | 2000-2006 | 2000-2006 |
8416 | Angola | 2002 | m | 35-44yo | 1915.0 | 2000-2006 | 2000-2006 |
8417 | Angola | 2003 | m | 35-44yo | 1908.0 | 2000-2006 | 2000-2006 |
8418 | Angola | 2004 | m | 35-44yo | 1998.0 | 2000-2006 | 2000-2006 |
8419 | Angola | 2005 | m | 35-44yo | 1918.0 | 2000-2006 | 2000-2006 |
8420 | Angola | 2006 | m | 35-44yo | 2182.0 | 2000-2006 | 2000-2006 |
8421 | Angola | 2007 | m | 35-44yo | 2255.0 | 2007-2012 | 2007-2012 |
8422 | Angola | 2008 | m | 35-44yo | 2418.0 | 2007-2012 | 2007-2012 |
8423 | Angola | 2009 | m | 35-44yo | 2420.0 | 2007-2012 | 2007-2012 |
8424 | Angola | 2010 | m | 35-44yo | 2415.0 | 2007-2012 | 2007-2012 |
8425 | Angola | 2011 | m | 35-44yo | 2386.0 | 2007-2012 | 2007-2012 |
8426 | Angola | 2012 | m | 35-44yo | 2529.0 | 2007-2012 | 2007-2012 |
11197 | Angola | 2000 | m | 45-54yo | 482.0 | 2000-2006 | 2000-2006 |
11198 | Angola | 2001 | m | 45-54yo | 420.0 | 2000-2006 | 2000-2006 |
11199 | Angola | 2002 | m | 45-54yo | 1187.0 | 2000-2006 | 2000-2006 |
11200 | Angola | 2003 | m | 45-54yo | 1090.0 | 2000-2006 | 2000-2006 |
11201 | Angola | 2004 | m | 45-54yo | 1196.0 | 2000-2006 | 2000-2006 |
11202 | Angola | 2005 | m | 45-54yo | 1255.0 | 2000-2006 | 2000-2006 |
11203 | Angola | 2006 | m | 45-54yo | 1397.0 | 2000-2006 | 2000-2006 |
11204 | Angola | 2007 | m | 45-54yo | 1357.0 | 2007-2012 | 2007-2012 |
11205 | Angola | 2008 | m | 45-54yo | 1480.0 | 2007-2012 | 2007-2012 |
11206 | Angola | 2009 | m | 45-54yo | 1590.0 | 2007-2012 | 2007-2012 |
11207 | Angola | 2010 | m | 45-54yo | 1424.0 | 2007-2012 | 2007-2012 |
11208 | Angola | 2011 | m | 45-54yo | 1395.0 | 2007-2012 | 2007-2012 |
11209 | Angola | 2012 | m | 45-54yo | 1427.0 | 2007-2012 | 2007-2012 |
13980 | Angola | 2000 | m | 55-64yo | 312.0 | 2000-2006 | 2000-2006 |
13981 | Angola | 2001 | m | 55-64yo | 197.0 | 2000-2006 | 2000-2006 |
13982 | Angola | 2002 | m | 55-64yo | 624.0 | 2000-2006 | 2000-2006 |
13983 | Angola | 2003 | m | 55-64yo | 512.0 | 2000-2006 | 2000-2006 |
13984 | Angola | 2004 | m | 55-64yo | 561.0 | 2000-2006 | 2000-2006 |
13985 | Angola | 2005 | m | 55-64yo | 665.0 | 2000-2006 | 2000-2006 |
13986 | Angola | 2006 | m | 55-64yo | 729.0 | 2000-2006 | 2000-2006 |
13987 | Angola | 2007 | m | 55-64yo | 699.0 | 2007-2012 | 2007-2012 |
13988 | Angola | 2008 | m | 55-64yo | 733.0 | 2007-2012 | 2007-2012 |
13989 | Angola | 2009 | m | 55-64yo | 748.0 | 2007-2012 | 2007-2012 |
13990 | Angola | 2010 | m | 55-64yo | 691.0 | 2007-2012 | 2007-2012 |
13991 | Angola | 2011 | m | 55-64yo | 680.0 | 2007-2012 | 2007-2012 |
13992 | Angola | 2012 | m | 55-64yo | 732.0 | 2007-2012 | 2007-2012 |
16763 | Angola | 2000 | m | >=65yo | 194.0 | 2000-2006 | 2000-2006 |
16764 | Angola | 2001 | m | >=65yo | 173.0 | 2000-2006 | 2000-2006 |
16765 | Angola | 2002 | m | >=65yo | 444.0 | 2000-2006 | 2000-2006 |
16766 | Angola | 2003 | m | >=65yo | 361.0 | 2000-2006 | 2000-2006 |
16767 | Angola | 2004 | m | >=65yo | 321.0 | 2000-2006 | 2000-2006 |
16768 | Angola | 2005 | m | >=65yo | 461.0 | 2000-2006 | 2000-2006 |
16769 | Angola | 2006 | m | >=65yo | 428.0 | 2000-2006 | 2000-2006 |
16770 | Angola | 2007 | m | >=65yo | 465.0 | 2007-2012 | 2007-2012 |
16771 | Angola | 2008 | m | >=65yo | 420.0 | 2007-2012 | 2007-2012 |
16772 | Angola | 2009 | m | >=65yo | 463.0 | 2007-2012 | 2007-2012 |
16773 | Angola | 2010 | m | >=65yo | 355.0 | 2007-2012 | 2007-2012 |
16774 | Angola | 2011 | m | >=65yo | 455.0 | 2007-2012 | 2007-2012 |
16775 | Angola | 2012 | m | >=65yo | 424.0 | 2007-2012 | 2007-2012 |
19546 | Angola | 2000 | f | <=14yo | 247.0 | 2000-2006 | 2000-2006 |
19547 | Angola | 2001 | f | <=14yo | 279.0 | 2000-2006 | 2000-2006 |
19548 | Angola | 2002 | f | <=14yo | 640.0 | 2000-2006 | 2000-2006 |
19549 | Angola | 2003 | f | <=14yo | 591.0 | 2000-2006 | 2000-2006 |
19550 | Angola | 2004 | f | <=14yo | 733.0 | 2000-2006 | 2000-2006 |
19551 | Angola | 2005 | f | <=14yo | 704.0 | 2000-2006 | 2000-2006 |
19552 | Angola | 2006 | f | <=14yo | 689.0 | 2000-2006 | 2000-2006 |
19553 | Angola | 2007 | f | <=14yo | 703.0 | 2007-2012 | 2007-2012 |
19554 | Angola | 2008 | f | <=14yo | 512.0 | 2007-2012 | 2007-2012 |
19555 | Angola | 2009 | f | <=14yo | 568.0 | 2007-2012 | 2007-2012 |
19556 | Angola | 2010 | f | <=14yo | 558.0 | 2007-2012 | 2007-2012 |
19557 | Angola | 2011 | f | <=14yo | 708.0 | 2007-2012 | 2007-2012 |
19558 | Angola | 2012 | f | <=14yo | 592.0 | 2007-2012 | 2007-2012 |
22329 | Angola | 2000 | f | 15-24yo | 1142.0 | 2000-2006 | 2000-2006 |
22330 | Angola | 2001 | f | 15-24yo | 993.0 | 2000-2006 | 2000-2006 |
22331 | Angola | 2002 | f | 15-24yo | 2610.0 | 2000-2006 | 2000-2006 |
22332 | Angola | 2003 | f | 15-24yo | 3078.0 | 2000-2006 | 2000-2006 |
22333 | Angola | 2004 | f | 15-24yo | 3198.0 | 2000-2006 | 2000-2006 |
22334 | Angola | 2005 | f | 15-24yo | 2926.0 | 2000-2006 | 2000-2006 |
22335 | Angola | 2006 | f | 15-24yo | 2851.0 | 2000-2006 | 2000-2006 |
22336 | Angola | 2007 | f | 15-24yo | 2943.0 | 2007-2012 | 2007-2012 |
22337 | Angola | 2008 | f | 15-24yo | 3199.0 | 2007-2012 | 2007-2012 |
22338 | Angola | 2009 | f | 15-24yo | 3152.0 | 2007-2012 | 2007-2012 |
22339 | Angola | 2010 | f | 15-24yo | 2763.0 | 2007-2012 | 2007-2012 |
22340 | Angola | 2011 | f | 15-24yo | 2731.0 | 2007-2012 | 2007-2012 |
22341 | Angola | 2012 | f | 15-24yo | 2501.0 | 2007-2012 | 2007-2012 |
25112 | Angola | 2000 | f | 25-34yo | 1091.0 | 2000-2006 | 2000-2006 |
25113 | Angola | 2001 | f | 25-34yo | 869.0 | 2000-2006 | 2000-2006 |
25114 | Angola | 2002 | f | 25-34yo | 2208.0 | 2000-2006 | 2000-2006 |
25115 | Angola | 2003 | f | 25-34yo | 2641.0 | 2000-2006 | 2000-2006 |
25116 | Angola | 2004 | f | 25-34yo | 2772.0 | 2000-2006 | 2000-2006 |
25117 | Angola | 2005 | f | 25-34yo | 2682.0 | 2000-2006 | 2000-2006 |
25118 | Angola | 2006 | f | 25-34yo | 2892.0 | 2000-2006 | 2000-2006 |
25119 | Angola | 2007 | f | 25-34yo | 2721.0 | 2007-2012 | 2007-2012 |
25120 | Angola | 2008 | f | 25-34yo | 2786.0 | 2007-2012 | 2007-2012 |
25121 | Angola | 2009 | f | 25-34yo | 2798.0 | 2007-2012 | 2007-2012 |
25122 | Angola | 2010 | f | 25-34yo | 2594.0 | 2007-2012 | 2007-2012 |
25123 | Angola | 2011 | f | 25-34yo | 2563.0 | 2007-2012 | 2007-2012 |
25124 | Angola | 2012 | f | 25-34yo | 2540.0 | 2007-2012 | 2007-2012 |
27895 | Angola | 2000 | f | 35-44yo | 844.0 | 2000-2006 | 2000-2006 |
27896 | Angola | 2001 | f | 35-44yo | 647.0 | 2000-2006 | 2000-2006 |
27897 | Angola | 2002 | f | 35-44yo | 1600.0 | 2000-2006 | 2000-2006 |
27898 | Angola | 2003 | f | 35-44yo | 1747.0 | 2000-2006 | 2000-2006 |
27899 | Angola | 2004 | f | 35-44yo | 1854.0 | 2000-2006 | 2000-2006 |
27900 | Angola | 2005 | f | 35-44yo | 1797.0 | 2000-2006 | 2000-2006 |
27901 | Angola | 2006 | f | 35-44yo | 1990.0 | 2000-2006 | 2000-2006 |
27902 | Angola | 2007 | f | 35-44yo | 1812.0 | 2007-2012 | 2007-2012 |
27903 | Angola | 2008 | f | 35-44yo | 2082.0 | 2007-2012 | 2007-2012 |
27904 | Angola | 2009 | f | 35-44yo | 1790.0 | 2007-2012 | 2007-2012 |
27905 | Angola | 2010 | f | 35-44yo | 1688.0 | 2007-2012 | 2007-2012 |
27906 | Angola | 2011 | f | 35-44yo | 1683.0 | 2007-2012 | 2007-2012 |
27907 | Angola | 2012 | f | 35-44yo | 1617.0 | 2007-2012 | 2007-2012 |
30678 | Angola | 2000 | f | 45-54yo | 417.0 | 2000-2006 | 2000-2006 |
30679 | Angola | 2001 | f | 45-54yo | 323.0 | 2000-2006 | 2000-2006 |
30680 | Angola | 2002 | f | 45-54yo | 972.0 | 2000-2006 | 2000-2006 |
30681 | Angola | 2003 | f | 45-54yo | 1157.0 | 2000-2006 | 2000-2006 |
30682 | Angola | 2004 | f | 45-54yo | 1029.0 | 2000-2006 | 2000-2006 |
30683 | Angola | 2005 | f | 45-54yo | 1138.0 | 2000-2006 | 2000-2006 |
30684 | Angola | 2006 | f | 45-54yo | 1223.0 | 2000-2006 | 2000-2006 |
30685 | Angola | 2007 | f | 45-54yo | 1041.0 | 2007-2012 | 2007-2012 |
30686 | Angola | 2008 | f | 45-54yo | 1209.0 | 2007-2012 | 2007-2012 |
30687 | Angola | 2009 | f | 45-54yo | 1069.0 | 2007-2012 | 2007-2012 |
30688 | Angola | 2010 | f | 45-54yo | 958.0 | 2007-2012 | 2007-2012 |
30689 | Angola | 2011 | f | 45-54yo | 1006.0 | 2007-2012 | 2007-2012 |
30690 | Angola | 2012 | f | 45-54yo | 1028.0 | 2007-2012 | 2007-2012 |
33461 | Angola | 2000 | f | 55-64yo | 200.0 | 2000-2006 | 2000-2006 |
33462 | Angola | 2001 | f | 55-64yo | 200.0 | 2000-2006 | 2000-2006 |
33463 | Angola | 2002 | f | 55-64yo | 533.0 | 2000-2006 | 2000-2006 |
33464 | Angola | 2003 | f | 55-64yo | 395.0 | 2000-2006 | 2000-2006 |
33465 | Angola | 2004 | f | 55-64yo | 505.0 | 2000-2006 | 2000-2006 |
33466 | Angola | 2005 | f | 55-64yo | 581.0 | 2000-2006 | 2000-2006 |
33467 | Angola | 2006 | f | 55-64yo | 583.0 | 2000-2006 | 2000-2006 |
33468 | Angola | 2007 | f | 55-64yo | 554.0 | 2007-2012 | 2007-2012 |
33469 | Angola | 2008 | f | 55-64yo | 556.0 | 2007-2012 | 2007-2012 |
33470 | Angola | 2009 | f | 55-64yo | 572.0 | 2007-2012 | 2007-2012 |
33471 | Angola | 2010 | f | 55-64yo | 482.0 | 2007-2012 | 2007-2012 |
33472 | Angola | 2011 | f | 55-64yo | 457.0 | 2007-2012 | 2007-2012 |
33473 | Angola | 2012 | f | 55-64yo | 529.0 | 2007-2012 | 2007-2012 |
36244 | Angola | 2000 | f | >=65yo | 120.0 | 2000-2006 | 2000-2006 |
36245 | Angola | 2001 | f | >=65yo | 182.0 | 2000-2006 | 2000-2006 |
36246 | Angola | 2002 | f | >=65yo | 305.0 | 2000-2006 | 2000-2006 |
36247 | Angola | 2003 | f | >=65yo | 129.0 | 2000-2006 | 2000-2006 |
36248 | Angola | 2004 | f | >=65yo | 269.0 | 2000-2006 | 2000-2006 |
36249 | Angola | 2005 | f | >=65yo | 417.0 | 2000-2006 | 2000-2006 |
36250 | Angola | 2006 | f | >=65yo | 314.0 | 2000-2006 | 2000-2006 |
36251 | Angola | 2007 | f | >=65yo | 367.0 | 2007-2012 | 2007-2012 |
36252 | Angola | 2008 | f | >=65yo | 337.0 | 2007-2012 | 2007-2012 |
36253 | Angola | 2009 | f | >=65yo | 272.0 | 2007-2012 | 2007-2012 |
36254 | Angola | 2010 | f | >=65yo | 286.0 | 2007-2012 | 2007-2012 |
36255 | Angola | 2011 | f | >=65yo | 346.0 | 2007-2012 | 2007-2012 |
36256 | Angola | 2012 | f | >=65yo | 384.0 | 2007-2012 | 2007-2012 |
In [85]:
tb_cases_per_gender = (
tb.pivot_table(index=['country', 'year_range'], columns='gender', values='cases', aggfunc='sum')
)
total_cases = tb_cases_per_gender.sum(axis=1)
tb_cases_per_gender = tb_cases_per_gender.div(total_cases, axis=0)
(tb_cases_per_gender.round(3) * 100)
Out[85]:
gender | f | m | |
---|---|---|---|
country | year_range | ||
Afghanistan | 2000-2006 | 67.8 | 32.2 |
2007-2012 | 67.4 | 32.6 | |
Albania | 2000-2006 | 32.4 | 67.6 |
2007-2012 | 30.5 | 69.5 | |
Algeria | 2000-2006 | 41.1 | 58.9 |
2007-2012 | 38.5 | 61.5 | |
American Samoa | 2000-2006 | 64.7 | 35.3 |
2007-2012 | NaN | NaN | |
Andorra | 2000-2006 | 35.7 | 64.3 |
2007-2012 | 50.0 | 50.0 | |
Angola | 2000-2006 | 50.2 | 49.8 |
2007-2012 | 45.3 | 54.7 | |
Anguilla | 2000-2006 | 100.0 | 0.0 |
2007-2012 | 0.0 | 100.0 | |
Antigua and Barbuda | 2000-2006 | 68.8 | 31.2 |
2007-2012 | 10.0 | 90.0 | |
Argentina | 2000-2006 | 42.9 | 57.1 |
2007-2012 | 44.2 | 55.8 | |
Armenia | 2000-2006 | 17.5 | 82.5 |
2007-2012 | 20.4 | 79.6 | |
Aruba | 2000-2006 | NaN | NaN |
2007-2012 | 52.4 | 47.6 | |
Australia | 2000-2006 | 37.4 | 62.6 |
2007-2012 | 41.3 | 58.7 | |
Austria | 2000-2006 | 27.8 | 72.2 |
2007-2012 | 33.5 | 66.5 | |
Azerbaijan | 2000-2006 | 20.9 | 79.1 |
2007-2012 | 25.9 | 74.1 | |
Bahamas | 2000-2006 | 41.1 | 58.9 |
2007-2012 | 32.9 | 67.1 | |
Bahrain | 2000-2006 | 31.0 | 69.0 |
2007-2012 | 30.4 | 69.6 | |
Bangladesh | 2000-2006 | 31.2 | 68.8 |
2007-2012 | 33.7 | 66.3 | |
Barbados | 2000-2006 | 31.6 | 68.4 |
2007-2012 | 35.3 | 64.7 | |
Belarus | 2000-2006 | 19.5 | 80.5 |
2007-2012 | 23.3 | 76.7 | |
Belgium | 2000-2006 | 30.4 | 69.6 |
2007-2012 | 32.8 | 67.2 | |
Belize | 2000-2006 | 36.6 | 63.4 |
2007-2012 | 31.2 | 68.8 | |
Benin | 2000-2006 | 36.2 | 63.8 |
2007-2012 | 34.8 | 65.2 | |
Bermuda | 2000-2006 | 50.0 | 50.0 |
2007-2012 | 50.0 | 50.0 | |
Bhutan | 2000-2006 | 43.4 | 56.6 |
2007-2012 | 50.9 | 49.1 | |
Bolivia (Plurinational State of) | 2000-2006 | 40.6 | 59.4 |
2007-2012 | 39.4 | 60.6 | |
Bonaire, Saint Eustatius and Saba | 2007-2012 | NaN | NaN |
Bosnia and Herzegovina | 2000-2006 | 42.6 | 57.4 |
2007-2012 | 40.2 | 59.8 | |
Botswana | 2000-2006 | 43.7 | 56.3 |
2007-2012 | 43.9 | 56.1 | |
Brazil | 2000-2006 | 34.9 | 65.1 |
2007-2012 | 31.7 | 68.3 | |
British Virgin Islands | 2000-2006 | 50.0 | 50.0 |
2007-2012 | 0.0 | 100.0 | |
Brunei Darussalam | 2000-2006 | 38.6 | 61.4 |
2007-2012 | 38.0 | 62.0 | |
Bulgaria | 2000-2006 | 31.4 | 68.6 |
2007-2012 | 28.5 | 71.5 | |
Burkina Faso | 2000-2006 | 32.3 | 67.7 |
2007-2012 | 31.2 | 68.8 | |
Burundi | 2000-2006 | 38.5 | 61.5 |
2007-2012 | 34.3 | 65.7 | |
Cabo Verde | 2000-2006 | 39.6 | 60.4 |
2007-2012 | 29.8 | 70.2 | |
Cambodia | 2000-2006 | 48.8 | 51.2 |
2007-2012 | 47.0 | 53.0 | |
Cameroon | 2000-2006 | 40.1 | 59.9 |
2007-2012 | 40.0 | 60.0 | |
Canada | 2000-2006 | 42.6 | 57.4 |
2007-2012 | 39.2 | 60.8 | |
Cayman Islands | 2000-2006 | 14.3 | 85.7 |
2007-2012 | 11.1 | 88.9 | |
Central African Republic | 2000-2006 | 43.8 | 56.2 |
2007-2012 | 45.1 | 54.9 | |
Chad | 2000-2006 | 39.4 | 60.6 |
2007-2012 | 33.0 | 67.0 | |
Chile | 2000-2006 | 32.7 | 67.3 |
2007-2012 | 31.5 | 68.5 | |
China | 2000-2006 | 31.3 | 68.7 |
2007-2012 | 28.7 | 71.3 | |
China, Hong Kong SAR | 2000-2006 | 30.9 | 69.1 |
2007-2012 | 31.6 | 68.4 | |
China, Macao SAR | 2000-2006 | 28.9 | 71.1 |
2007-2012 | 31.9 | 68.1 | |
Colombia | 2000-2006 | 40.0 | 60.0 |
2007-2012 | 39.6 | 60.4 | |
Comoros | 2000-2006 | 43.1 | 56.9 |
2007-2012 | 32.5 | 67.5 | |
Congo | 2000-2006 | 46.3 | 53.7 |
2007-2012 | 44.8 | 55.2 | |
Cook Islands | 2000-2006 | 0.0 | 100.0 |
2007-2012 | 25.0 | 75.0 | |
Costa Rica | 2000-2006 | 35.1 | 64.9 |
2007-2012 | 34.7 | 65.3 | |
Cote d'Ivoire | 2000-2006 | 41.1 | 58.9 |
2007-2012 | 39.9 | 60.1 | |
Croatia | 2000-2006 | 33.2 | 66.8 |
2007-2012 | 32.0 | 68.0 | |
Cuba | 2000-2006 | 24.0 | 76.0 |
2007-2012 | 22.6 | 77.4 | |
Curacao | 2007-2012 | 50.0 | 50.0 |
Cyprus | 2000-2006 | 27.1 | 72.9 |
2007-2012 | 46.7 | 53.3 | |
Czech Republic | 2000-2006 | 27.1 | 72.9 |
2007-2012 | 24.0 | 76.0 | |
Democratic People's Republic of Korea | 2000-2006 | 38.5 | 61.5 |
2007-2012 | 36.9 | 63.1 | |
Democratic Republic of the Congo | 2000-2006 | 46.9 | 53.1 |
2007-2012 | 45.7 | 54.3 | |
Denmark | 2000-2006 | 38.1 | 61.9 |
2007-2012 | 33.0 | 67.0 | |
Djibouti | 2000-2006 | 32.4 | 67.6 |
2007-2012 | 34.9 | 65.1 | |
Dominica | 2000-2006 | 50.0 | 50.0 |
2007-2012 | 24.0 | 76.0 | |
Dominican Republic | 2000-2006 | 39.6 | 60.4 |
2007-2012 | 38.1 | 61.9 | |
Ecuador | 2000-2006 | 40.7 | 59.3 |
2007-2012 | 36.8 | 63.2 | |
Egypt | 2000-2006 | 34.0 | 66.0 |
2007-2012 | 32.9 | 67.1 | |
El Salvador | 2000-2006 | 39.6 | 60.4 |
2007-2012 | 36.3 | 63.7 | |
Equatorial Guinea | 2000-2006 | 39.7 | 60.3 |
2007-2012 | 42.1 | 57.9 | |
Eritrea | 2000-2006 | 53.5 | 46.5 |
2007-2012 | 44.8 | 55.2 | |
Estonia | 2000-2006 | 26.6 | 73.4 |
2007-2012 | 25.8 | 74.2 | |
Ethiopia | 2000-2006 | 45.3 | 54.7 |
2007-2012 | 44.5 | 55.5 | |
Fiji | 2000-2006 | 38.5 | 61.5 |
2007-2012 | 45.9 | 54.1 | |
Finland | 2000-2006 | 34.9 | 65.1 |
2007-2012 | 33.4 | 66.6 | |
France | 2000-2006 | 34.2 | 65.8 |
2007-2012 | 36.7 | 63.3 | |
French Polynesia | 2000-2006 | 45.5 | 54.5 |
2007-2012 | 45.6 | 54.4 | |
Gabon | 2000-2006 | 40.2 | 59.8 |
2007-2012 | 39.7 | 60.3 | |
Gambia | 2000-2006 | 29.8 | 70.2 |
2007-2012 | 32.3 | 67.7 | |
Georgia | 2000-2006 | 24.0 | 76.0 |
2007-2012 | 23.4 | 76.6 | |
Germany | 2000-2006 | 34.5 | 65.5 |
2007-2012 | 34.1 | 65.9 | |
Ghana | 2000-2006 | 34.9 | 65.1 |
2007-2012 | 33.4 | 66.6 | |
Greece | 2000-2006 | 29.1 | 70.9 |
2007-2012 | 28.5 | 71.5 | |
Greenland | 2000-2006 | NaN | NaN |
2007-2012 | 39.5 | 60.5 | |
Grenada | 2000-2006 | 50.0 | 50.0 |
2007-2012 | 22.2 | 77.8 | |
Guam | 2000-2006 | 35.1 | 64.9 |
2007-2012 | 31.2 | 68.8 | |
Guatemala | 2000-2006 | 46.1 | 53.9 |
2007-2012 | 46.5 | 53.5 | |
Guinea | 2000-2006 | 34.0 | 66.0 |
2007-2012 | 34.9 | 65.1 | |
Guinea-Bissau | 2000-2006 | 39.8 | 60.2 |
2007-2012 | 39.1 | 60.9 | |
Guyana | 2000-2006 | 31.8 | 68.2 |
2007-2012 | 28.0 | 72.0 | |
Haiti | 2000-2006 | 49.9 | 50.1 |
2007-2012 | 48.7 | 51.3 | |
Honduras | 2000-2006 | 44.6 | 55.4 |
2007-2012 | 40.1 | 59.9 | |
Hungary | 2000-2006 | 26.3 | 73.7 |
2007-2012 | 28.5 | 71.5 | |
Iceland | 2000-2006 | 40.0 | 60.0 |
2007-2012 | 50.0 | 50.0 | |
India | 2000-2006 | 30.9 | 69.1 |
2007-2012 | 30.6 | 69.4 | |
Indonesia | 2000-2006 | 41.8 | 58.2 |
2007-2012 | 40.8 | 59.2 | |
Iran (Islamic Republic of) | 2000-2006 | 49.8 | 50.2 |
2007-2012 | 49.7 | 50.3 | |
Iraq | 2000-2006 | 34.5 | 65.5 |
2007-2012 | 42.7 | 57.3 | |
Ireland | 2000-2006 | 35.8 | 64.2 |
2007-2012 | 33.0 | 67.0 | |
Israel | 2000-2006 | 38.7 | 61.3 |
2007-2012 | 36.1 | 63.9 | |
Italy | 2000-2006 | 34.7 | 65.3 |
2007-2012 | 36.9 | 63.1 | |
Jamaica | 2000-2006 | 28.4 | 71.6 |
2007-2012 | 32.3 | 67.7 | |
Japan | 2000-2006 | 30.4 | 69.6 |
2007-2012 | 33.3 | 66.7 | |
Jordan | 2000-2006 | 34.2 | 65.8 |
2007-2012 | 46.6 | 53.4 | |
Kazakhstan | 2000-2006 | 37.8 | 62.2 |
2007-2012 | 37.8 | 62.2 | |
Kenya | 2000-2006 | 42.1 | 57.9 |
2007-2012 | 39.3 | 60.7 | |
Kiribati | 2000-2006 | 47.0 | 53.0 |
2007-2012 | 48.2 | 51.8 | |
Kuwait | 2000-2006 | 35.4 | 64.6 |
2007-2012 | 42.7 | 57.3 | |
Kyrgyzstan | 2000-2006 | 39.1 | 60.9 |
2007-2012 | 40.8 | 59.2 | |
Lao People's Democratic Republic | 2000-2006 | 38.7 | 61.3 |
2007-2012 | 38.9 | 61.1 | |
Latvia | 2000-2006 | 26.2 | 73.8 |
2007-2012 | 25.3 | 74.7 | |
Lebanon | 2000-2006 | 41.2 | 58.8 |
2007-2012 | 58.2 | 41.8 | |
Lesotho | 2000-2006 | 44.2 | 55.8 |
2007-2012 | 43.7 | 56.3 | |
Liberia | 2000-2006 | 43.0 | 57.0 |
2007-2012 | 44.3 | 55.7 | |
Libya | 2000-2006 | 21.5 | 78.5 |
2007-2012 | 23.4 | 76.6 | |
Lithuania | 2000-2006 | 26.7 | 73.3 |
2007-2012 | 25.2 | 74.8 | |
Luxembourg | 2000-2006 | 39.3 | 60.7 |
2007-2012 | 0.0 | 100.0 | |
Madagascar | 2000-2006 | 40.8 | 59.2 |
2007-2012 | 41.0 | 59.0 | |
Malawi | 2000-2006 | 49.5 | 50.5 |
2007-2012 | 44.3 | 55.7 | |
Malaysia | 2000-2006 | 31.3 | 68.7 |
2007-2012 | 33.1 | 66.9 | |
Maldives | 2000-2006 | 38.7 | 61.3 |
2007-2012 | 32.7 | 67.3 | |
Mali | 2000-2006 | 32.2 | 67.8 |
2007-2012 | 33.6 | 66.4 | |
Malta | 2000-2006 | 16.0 | 84.0 |
2007-2012 | 20.0 | 80.0 | |
Marshall Islands | 2000-2006 | 51.1 | 48.9 |
2007-2012 | 51.4 | 48.6 | |
Mauritania | 2000-2006 | 28.7 | 71.3 |
2007-2012 | 29.1 | 70.9 | |
Mauritius | 2000-2006 | 29.4 | 70.6 |
2007-2012 | 30.6 | 69.4 | |
Mexico | 2000-2006 | 38.4 | 61.6 |
2007-2012 | 37.9 | 62.1 | |
Micronesia (Federated States of) | 2000-2006 | 55.5 | 44.5 |
2007-2012 | 52.6 | 47.4 | |
Monaco | 2000-2006 | NaN | NaN |
2007-2012 | NaN | NaN | |
Mongolia | 2000-2006 | 46.4 | 53.6 |
2007-2012 | 43.4 | 56.6 | |
Montenegro | 2000-2006 | 34.4 | 65.6 |
2007-2012 | 42.1 | 57.9 | |
Montserrat | 2000-2006 | 0.0 | 100.0 |
2007-2012 | 100.0 | 0.0 | |
Morocco | 2000-2006 | 34.1 | 65.9 |
2007-2012 | 29.9 | 70.1 | |
Mozambique | 2000-2006 | NaN | NaN |
2007-2012 | NaN | NaN | |
Myanmar | 2000-2006 | 34.1 | 65.9 |
2007-2012 | 34.2 | 65.8 | |
Namibia | 2000-2006 | 42.9 | 57.1 |
2007-2012 | 43.2 | 56.8 | |
Nauru | 2000-2006 | 50.0 | 50.0 |
2007-2012 | 30.0 | 70.0 | |
Nepal | 2000-2006 | 32.9 | 67.1 |
2007-2012 | 32.1 | 67.9 | |
Netherlands | 2000-2006 | 32.0 | 68.0 |
2007-2012 | 35.3 | 64.7 | |
Netherlands Antilles | 2000-2006 | 23.1 | 76.9 |
2007-2012 | NaN | NaN | |
New Caledonia | 2000-2006 | 42.3 | 57.7 |
2007-2012 | 32.5 | 67.5 | |
New Zealand | 2000-2006 | 46.8 | 53.2 |
2007-2012 | 46.1 | 53.9 | |
Nicaragua | 2000-2006 | 44.4 | 55.6 |
2007-2012 | 42.6 | 57.4 | |
Niger | 2000-2006 | 28.2 | 71.8 |
2007-2012 | 26.0 | 74.0 | |
Nigeria | 2000-2006 | 41.8 | 58.2 |
2007-2012 | 39.8 | 60.2 | |
Niue | 2000-2006 | 100.0 | 0.0 |
2007-2012 | NaN | NaN | |
Northern Mariana Islands | 2000-2006 | 46.4 | 53.6 |
2007-2012 | 37.2 | 62.8 | |
Norway | 2000-2006 | 42.4 | 57.6 |
2007-2012 | 37.2 | 62.8 | |
Oman | 2000-2006 | 39.6 | 60.4 |
2007-2012 | 38.1 | 61.9 | |
Pakistan | 2000-2006 | 48.7 | 51.3 |
2007-2012 | 48.7 | 51.3 | |
Palau | 2000-2006 | 32.4 | 67.6 |
2007-2012 | 39.3 | 60.7 | |
Panama | 2000-2006 | 36.2 | 63.8 |
2007-2012 | 36.4 | 63.6 | |
Papua New Guinea | 2000-2006 | 48.4 | 51.6 |
2007-2012 | 48.4 | 51.6 | |
Paraguay | 2000-2006 | 35.7 | 64.3 |
2007-2012 | 30.6 | 69.4 | |
Peru | 2000-2006 | 42.7 | 57.3 |
2007-2012 | 42.9 | 57.1 | |
Philippines | 2000-2006 | 30.9 | 69.1 |
2007-2012 | 29.7 | 70.3 | |
Poland | 2000-2006 | 30.4 | 69.6 |
2007-2012 | 28.6 | 71.4 | |
Portugal | 2000-2006 | 25.9 | 74.1 |
2007-2012 | 26.3 | 73.7 | |
Puerto Rico | 2000-2006 | 32.1 | 67.9 |
2007-2012 | 29.4 | 70.6 | |
Qatar | 2000-2006 | 22.2 | 77.8 |
2007-2012 | 14.8 | 85.2 | |
Republic of Korea | 2000-2006 | 36.9 | 63.1 |
2007-2012 | 40.3 | 59.7 | |
Republic of Moldova | 2000-2006 | 23.8 | 76.2 |
2007-2012 | 22.1 | 77.9 | |
Romania | 2000-2006 | 28.6 | 71.4 |
2007-2012 | 29.1 | 70.9 | |
Russian Federation | 2000-2006 | 23.8 | 76.2 |
2007-2012 | 26.3 | 73.7 | |
Rwanda | 2000-2006 | 36.2 | 63.8 |
2007-2012 | 35.8 | 64.2 | |
Saint Kitts and Nevis | 2000-2006 | 75.0 | 25.0 |
2007-2012 | 27.8 | 72.2 | |
Saint Lucia | 2000-2006 | 37.7 | 62.3 |
2007-2012 | 25.7 | 74.3 | |
Saint Vincent and the Grenadines | 2000-2006 | 24.4 | 75.6 |
2007-2012 | 23.5 | 76.5 | |
Samoa | 2000-2006 | 50.0 | 50.0 |
2007-2012 | 82.8 | 17.2 | |
San Marino | 2000-2006 | 0.0 | 100.0 |
2007-2012 | NaN | NaN | |
Sao Tome and Principe | 2000-2006 | 47.5 | 52.5 |
2007-2012 | 38.9 | 61.1 | |
Saudi Arabia | 2000-2006 | 39.3 | 60.7 |
2007-2012 | 38.5 | 61.5 | |
Senegal | 2000-2006 | 31.4 | 68.6 |
2007-2012 | 30.9 | 69.1 | |
Serbia | 2000-2006 | 38.9 | 61.1 |
2007-2012 | 40.0 | 60.0 | |
Serbia & Montenegro | 2000-2006 | 39.8 | 60.2 |
Seychelles | 2000-2006 | 28.8 | 71.2 |
2007-2012 | 25.7 | 74.3 | |
Sierra Leone | 2000-2006 | 38.4 | 61.6 |
2007-2012 | 37.4 | 62.6 | |
Singapore | 2000-2006 | 25.9 | 74.1 |
2007-2012 | 25.5 | 74.5 | |
Sint Maarten (Dutch part) | 2007-2012 | 66.7 | 33.3 |
Slovakia | 2000-2006 | 32.8 | 67.2 |
2007-2012 | 28.5 | 71.5 | |
Slovenia | 2000-2006 | 34.6 | 65.4 |
2007-2012 | 34.1 | 65.9 | |
Solomon Islands | 2000-2006 | 53.4 | 46.6 |
2007-2012 | 51.4 | 48.6 | |
Somalia | 2000-2006 | 35.5 | 64.5 |
2007-2012 | 35.5 | 64.5 | |
South Africa | 2000-2006 | 43.7 | 56.3 |
2007-2012 | 45.7 | 54.3 | |
South Sudan | 2007-2012 | 35.0 | 65.0 |
Spain | 2000-2006 | 32.0 | 68.0 |
2007-2012 | 34.0 | 66.0 | |
Sri Lanka | 2000-2006 | 27.2 | 72.8 |
2007-2012 | 26.5 | 73.5 | |
Sudan | 2000-2006 | 40.1 | 59.9 |
2007-2012 | 37.6 | 62.4 | |
Suriname | 2000-2006 | 28.4 | 71.6 |
2007-2012 | 30.3 | 69.7 | |
Swaziland | 2000-2006 | 48.8 | 51.2 |
2007-2012 | 51.0 | 49.0 | |
Sweden | 2000-2006 | 43.9 | 56.1 |
2007-2012 | 40.7 | 59.3 | |
Switzerland | 2000-2006 | 37.0 | 63.0 |
2007-2012 | 40.5 | 59.5 | |
Syrian Arab Republic | 2000-2006 | 35.1 | 64.9 |
2007-2012 | 37.1 | 62.9 | |
Tajikistan | 2000-2006 | 40.8 | 59.2 |
2007-2012 | 43.9 | 56.1 | |
Thailand | 2000-2006 | 29.7 | 70.3 |
2007-2012 | 30.0 | 70.0 | |
The Former Yugoslav Republic of Macedonia | 2000-2006 | 36.9 | 63.1 |
2007-2012 | 34.3 | 65.7 | |
Timor-Leste | 2000-2006 | 42.5 | 57.5 |
2007-2012 | 44.9 | 55.1 | |
Togo | 2000-2006 | 38.8 | 61.2 |
2007-2012 | 39.0 | 61.0 | |
Tokelau | 2000-2006 | NaN | NaN |
2007-2012 | NaN | NaN | |
Tonga | 2000-2006 | 40.2 | 59.8 |
2007-2012 | 42.3 | 57.7 | |
Trinidad and Tobago | 2000-2006 | 29.6 | 70.4 |
2007-2012 | 26.6 | 73.4 | |
Tunisia | 2000-2006 | 26.8 | 73.2 |
2007-2012 | 28.7 | 71.3 | |
Turkey | 2000-2006 | 27.0 | 73.0 |
2007-2012 | 28.2 | 71.8 | |
Turkmenistan | 2000-2006 | 34.9 | 65.1 |
2007-2012 | 36.5 | 63.5 | |
Turks and Caicos Islands | 2000-2006 | 66.7 | 33.3 |
2007-2012 | 31.2 | 68.8 | |
Tuvalu | 2000-2006 | 38.5 | 61.5 |
2007-2012 | 51.0 | 49.0 | |
US Virgin Islands | 2000-2006 | NaN | NaN |
2007-2012 | NaN | NaN | |
Uganda | 2000-2006 | 41.5 | 58.5 |
2007-2012 | 36.7 | 63.3 | |
Ukraine | 2000-2006 | 23.1 | 76.9 |
2007-2012 | 24.8 | 75.2 | |
United Arab Emirates | 2000-2006 | 45.7 | 54.3 |
2007-2012 | 41.5 | 58.5 | |
United Kingdom of Great Britain and Northern Ireland | 2000-2006 | 40.2 | 59.8 |
2007-2012 | 39.1 | 60.9 | |
United Republic of Tanzania | 2000-2006 | 37.7 | 62.3 |
2007-2012 | 36.5 | 63.5 | |
United States of America | 2000-2006 | 31.9 | 68.1 |
2007-2012 | 32.4 | 67.6 | |
Uruguay | 2000-2006 | 30.7 | 69.3 |
2007-2012 | 29.0 | 71.0 | |
Uzbekistan | 2000-2006 | 42.2 | 57.8 |
2007-2012 | 42.6 | 57.4 | |
Vanuatu | 2000-2006 | 45.3 | 54.7 |
2007-2012 | 54.5 | 45.5 | |
Venezuela (Bolivarian Republic of) | 2000-2006 | 39.4 | 60.6 |
2007-2012 | 39.5 | 60.5 | |
Viet Nam | 2000-2006 | 28.8 | 71.2 |
2007-2012 | 25.8 | 74.2 | |
Wallis and Futuna Islands | 2000-2006 | 41.2 | 58.8 |
2007-2012 | 16.7 | 83.3 | |
West Bank and Gaza Strip | 2000-2006 | 33.3 | 66.7 |
2007-2012 | 29.6 | 70.4 | |
Yemen | 2000-2006 | 45.1 | 54.9 |
2007-2012 | 44.8 | 55.2 | |
Zambia | 2000-2006 | 43.6 | 56.4 |
2007-2012 | 39.7 | 60.3 | |
Zimbabwe | 2000-2006 | 46.4 | 53.6 |
2007-2012 | 46.4 | 53.6 |