Reading from the World Bank

Thousands of data feeds are available from the World Bank and can be read directly into pandas DataFrame objects. The World Bank data catalog can be explored at http://www.worldbank.org/.

World Bank datasets are identified using indicators, a text code that represents each dataset. A full list of indicators can be retrieved using the pandas.io.wb.get_indicators() function. At the time of writing, there were 16,167 indicators. The following retrieves the indicators and displays the first five:

These indicators can be investigated using the World Bank website, but if you have an idea of the indicator you would like ...

Get Learning pandas - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.