In [1]:
import os
import sys
sys.path.append(os.path.abspath('../../lib'))
import domain
import sources
In [2]:
gdp = sources.world_bank("NY.GDP.MKTP.CD")
In [5]:
%matplotlib inline
In [12]:
# gdp.keys()
In [29]:
(gdp["DEU"] / 1e12).plot()
Out[29]:
In [33]:
domain.wbdata.search_countries("norway")
In [35]:
gdp[["FRA", "DEU", "BEL", "NOR"]].unstack(0).plot()
Out[35]:
In [ ]: