GithubHelp home page GithubHelp logo

mundi-demography's Introduction

Mundi Demography

Mundi demography plugin. Exposes demographic information about all countries in the world and a few functions to transform age distributions and other demographic parameters.

Usage

Install it using pip install mundi-demography or your method of choice. Now, you can just import it and load the desired information. Mundi exposes collections of entries as dataframes, which can be manipulated as usual

>>> import mundi, mundi_demography
>>> db = mundi.countries()
>>> db.mundi["population"]  # DOCTEST: +ELLIPSIS
    population
id
AD         NaN
AE   9892000.0
AF  38927000.0
AG     99000.0
AI         NaN
...
>>> db.mundi["age_distribution"]  # DOCTEST: +ELLIPSIS
          0          5          10   ...     90      95   100
id                                   ...
AD        NaN        NaN        NaN  ...     NaN     NaN  NaN
AE   499000.0   513000.0   453000.0  ...  1000.0     0.0  0.0
AF  5673000.0  5416000.0  5192000.0  ...  5000.0  1000.0  0.0
AG     7000.0     7000.0     7000.0  ...     0.0     0.0  0.0
AI        NaN        NaN        NaN  ...     NaN     NaN  NaN
...

mundi-demography's People

Contributors

fabiommendes avatar

Stargazers

Akash Kumar avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

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

  • Vue.js photo Vue.js

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

  • Typescript photo Typescript

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

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

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

Recommend Topics

  • javascript

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

  • web

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

  • server

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

  • Machine learning

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

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

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

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

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

  • D3 photo D3

    Data-Driven Documents codes.