A demography plugin for Mundi.
Project description
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
...
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mundi-demography-0.1.1.tar.gz.
File metadata
- Download URL: mundi-demography-0.1.1.tar.gz
- Upload date:
- Size: 23.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.23.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46031aad5d187e0245371ce28d787981fb922a10a02d9a3f940898ac56e9dea7
|
|
| MD5 |
fe5ef844afbebb332757d43c4bc02917
|
|
| BLAKE2b-256 |
2bd8a658c6961ecebf0d0fd693a9d11a84f2f41998a5236c78e8f80594dbf229
|
File details
Details for the file mundi_demography-0.1.1-py2.py3-none-any.whl.
File metadata
- Download URL: mundi_demography-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 868.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.23.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a842327e1c10a4a4cff91028a3226b0da68756781e9f56de66ecaf9c3db97ab4
|
|
| MD5 |
3b8dd2e3362428ec58bd39e9c05130bd
|
|
| BLAKE2b-256 |
4541e296358cdd42107fb24bb71b57aaf3972f8681444d1677556f9d88474876
|